use SetThreadExecutionState only on XP and above
This commit is contained in:
parent
895db5bf93
commit
fd1bac4a38
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue