Re: dxgi.idl: Added DXGI_SWAP_CHAIN_FLAG enum declaration and DXGI_MWA_* flags
On 30 June 2011 17:34, Jacek Caban <jacek(a)codeweavers.com> wrote:
+cpp_quote("#define DXGI_MWA_NO_WINDOW_CHANGES 0x1") +cpp_quote("#define DXGI_MWA_NO_ALT_ENTER 0x2") +cpp_quote("#define DXGI_MWA_NO_PRINT_SCREEN 0x4") +cpp_quote("#define DXGI_MWA_VALID 0x7") Aren't those usually done as constants? (I.e., "const UINT DXGI_MWA_NO_WINDOW_CHANGES = 0x1;")
On 06/30/11 17:44, Henri Verbeet wrote:
On 30 June 2011 17:34, Jacek Caban <jacek(a)codeweavers.com> wrote:
+cpp_quote("#define DXGI_MWA_NO_WINDOW_CHANGES 0x1") +cpp_quote("#define DXGI_MWA_NO_ALT_ENTER 0x2") +cpp_quote("#define DXGI_MWA_NO_PRINT_SCREEN 0x4") +cpp_quote("#define DXGI_MWA_VALID 0x7") Aren't those usually done as constants? (I.e., "const UINT DXGI_MWA_NO_WINDOW_CHANGES = 0x1;")
They usually are, but these flags are exception, at least in the PSDK I have. Jacek
participants (2)
-
Henri Verbeet -
Jacek Caban