From 2ff854177c00d7b36c64ab11b26875539bb0cec5 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Mon, 18 Jan 2016 20:03:34 +0100 Subject: [PATCH] (WIN32) build fix --- gfx/common/win32_common.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index 4a43386523..5452ecacc6 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -64,32 +64,6 @@ extern void *dinput; /* Power Request APIs */ -#if (_WIN32_WINNT < 0x0601) //_WIN32_WINNT_WIN7 -typedef struct _REASON_CONTEXT { - ULONG Version; - DWORD Flags; - union { - struct { - HMODULE LocalizedReasonModule; - ULONG LocalizedReasonId; - ULONG ReasonStringCount; - LPWSTR *ReasonStrings; - } Detailed; - LPWSTR SimpleReasonString; - } Reason; -} REASON_CONTEXT, *PREASON_CONTEXT; - -typedef enum _POWER_REQUEST_TYPE { - PowerRequestDisplayRequired, - PowerRequestSystemRequired, - PowerRequestAwayModeRequired -} POWER_REQUEST_TYPE, *PPOWER_REQUEST_TYPE; - -#define POWER_REQUEST_CONTEXT_VERSION 0 -#define POWER_REQUEST_CONTEXT_SIMPLE_STRING 0x00000001 -#define POWER_REQUEST_CONTEXT_DETAILED_STRING 0x00000002 -#endif - typedef REASON_CONTEXT POWER_REQUEST_CONTEXT, *PPOWER_REQUEST_CONTEXT, *LPPOWER_REQUEST_CONTEXT; #ifndef MAX_MONITORS