mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-14 22:03:27 +01:00
use SetThreadExecutionState only on XP and above
This commit is contained in:
parent
895db5bf93
commit
fd1bac4a38
@ -29,4 +29,8 @@ typedef HRESULT(__stdcall* SETPROCESSDPIAWERENESSPROC)(PROCESS_DPI_AWARENESS);
|
||||
typedef BOOL(__stdcall* SETPROCESSDPIAWAREPROC)();
|
||||
typedef BOOL(__stdcall* SETPROCESSDPIAWARENESSCONTEXTPROC)(DPI_AWARENESS_CONTEXT);
|
||||
|
||||
#if (_WIN32_WINNT < _WIN32_WINNT_WINXP)
|
||||
#define SetThreadExecutionState(a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user