mirror of
https://github.com/glfw/glfw.git
synced 2025-10-05 06:06:36 +00:00
Adding WM_POINTER family to win32_window.h + changing WINVER in win32_platform.h
This commit is contained in:
parent
56ecd62f58
commit
04d5e94eb0
@ -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
|
||||||
|
2907
src/win32_window.c
2907
src/win32_window.c
File diff suppressed because it is too large
Load Diff
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user