// // PCH.H (MinGW version) // #define _WIN32_IE 0x0200 #include #include #include #include #include #include #include #include #include #include #include #include // #include // missing file #if !defined IDC_HAND // Win2k specific definition #define IDC_HAND MAKEINTRESOURCE(32649) #endif #define __unaligned // normally defined in STDLIB.H #if !defined __max #define __max(a,b) (((a) > (b)) ? (a) : (b)) #endif #if !defined __min #define __min(a,b) (((a) < (b)) ? (a) : (b)) #endif // normally defined in missing CRTDBG.H #if !defined _ASSERT #define _ASSERT(a) #endif #define _CrtSetDbgFlag(f) #if !defined VERIFY #if defined _DEBUG #define VERIFY(f) _ASSERT(f) #else // _DEBUG #define VERIFY(f) ((VOID)(f)) #endif // _DEBUG #endif // VERIFY #if !defined PROCESS_POWER_THROTTLING_CURRENT_VERSION #define PROCESS_POWER_THROTTLING_CURRENT_VERSION 1 #endif #if !defined PROCESS_POWER_THROTTLING_IGNORE_TIMER_RESOLUTION #define PROCESS_POWER_THROTTLING_IGNORE_TIMER_RESOLUTION 0x04 #endif enum { ProcessPowerThrottling = 4 }; typedef struct _PROCESS_POWER_THROTTLING_STATE { ULONG Version; ULONG ControlMask; ULONG StateMask; } PROCESS_POWER_THROTTLING_STATE, * PPROCESS_POWER_THROTTLING_STATE;