Adding WM_POINTER family to win32_window.h + changing WINVER in win32_platform.h

This commit is contained in:
Raja 2017-10-17 20:11:31 -04:00
parent 56ecd62f58
commit 04d5e94eb0
3 changed files with 1491 additions and 1431 deletions

View File

@ -49,13 +49,13 @@
#endif #endif
// GLFW requires Windows XP or later // GLFW requires Windows XP or later
#if WINVER < 0x0501 #if WINVER < 0x0604
#undef WINVER #undef WINVER
#define WINVER 0x0501 #define WINVER 0x0604
#endif #endif
#if _WIN32_WINNT < 0x0501 #if _WIN32_WINNT < 0x0604
#undef _WIN32_WINNT #undef _WIN32_WINNT
#define _WIN32_WINNT 0x0501 #define _WIN32_WINNT 0x0604
#endif #endif
// GLFW uses DirectInput8 interfaces // GLFW uses DirectInput8 interfaces
@ -104,7 +104,7 @@
#define _WIN32_WINNT_WINBLUE 0x0602 #define _WIN32_WINNT_WINBLUE 0x0602
#endif #endif
#if WINVER < 0x0601 #if WINVER < 0x0400
typedef struct tagCHANGEFILTERSTRUCT typedef struct tagCHANGEFILTERSTRUCT
{ {
DWORD cbSize; DWORD cbSize;
@ -116,7 +116,7 @@ typedef struct tagCHANGEFILTERSTRUCT
#endif #endif
#endif /*Windows 7*/ #endif /*Windows 7*/
#if WINVER < 0x0600 #if WINVER > 0x0400 //Changed from 0x0600 to 0x0400
#define DWM_BB_ENABLE 0x00000001 #define DWM_BB_ENABLE 0x00000001
#define DWM_BB_BLURREGION 0x00000002 #define DWM_BB_BLURREGION 0x00000002
typedef struct typedef struct

File diff suppressed because it is too large Load Diff

View File

@ -27,7 +27,8 @@
//======================================================================== //========================================================================
#include "internal.h" #include "internal.h"
#include <WinUser.h>
#include <windowsx.h>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>