28 #ifndef _glfw3_win32_platform_h_ 29 #define _glfw3_win32_platform_h_ 40 #ifndef WIN32_LEAN_AND_MEAN 41 #define WIN32_LEAN_AND_MEAN 59 #if _WIN32_WINNT < 0x0501 61 #define _WIN32_WINNT 0x0501 70 #define strdup _strdup 74 #ifndef WM_MOUSEHWHEEL 75 #define WM_MOUSEHWHEEL 0x020E 77 #ifndef WM_DWMCOMPOSITIONCHANGED 78 #define WM_DWMCOMPOSITIONCHANGED 0x031E 80 #ifndef WM_COPYGLOBALDATA 81 #define WM_COPYGLOBALDATA 0x0049 84 #define WM_UNICHAR 0x0109 86 #ifndef UNICODE_NOCHAR 87 #define UNICODE_NOCHAR 0xFFFF 98 #define MSGFLT_ALLOW 1 107 #define _glfw_joyGetDevCaps _glfw.win32.winmm.joyGetDevCaps 108 #define _glfw_joyGetPos _glfw.win32.winmm.joyGetPos 109 #define _glfw_joyGetPosEx _glfw.win32.winmm.joyGetPosEx 110 #define _glfw_timeGetTime _glfw.win32.winmm.timeGetTime 115 #define _glfw_SetProcessDPIAware _glfw.win32.user32.SetProcessDPIAware 116 #define _glfw_ChangeWindowMessageFilterEx _glfw.win32.user32.ChangeWindowMessageFilterEx 121 #define _glfw_DwmIsCompositionEnabled _glfw.win32.dwmapi.DwmIsCompositionEnabled 122 #define _glfw_DwmFlush _glfw.win32.dwmapi.DwmFlush 124 #define _GLFW_RECREATION_NOT_NEEDED 0 125 #define _GLFW_RECREATION_REQUIRED 1 126 #define _GLFW_RECREATION_IMPOSSIBLE 2 131 #if defined(_GLFW_WGL) 133 #elif defined(_GLFW_EGL) 134 #define _GLFW_EGL_NATIVE_WINDOW window->win32.handle 135 #define _GLFW_EGL_NATIVE_DISPLAY EGL_DEFAULT_DISPLAY 136 #include "egl_context.h" 138 #error "No supported context creation API selected" 141 #define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowWin32 win32 142 #define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryWin32 win32 143 #define _GLFW_PLATFORM_LIBRARY_TIME_STATE _GLFWtimeWin32 win32_time 144 #define _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorWin32 win32 145 #define _GLFW_PLATFORM_CURSOR_STATE _GLFWcursorWin32 win32 169 short int publicKeys[512];
202 WCHAR adapterName[32];
203 WCHAR displayName[32];
204 char publicAdapterName[64];
205 char publicDisplayName[64];
245 #endif // _glfw3_win32_platform_h_
JOYGETPOSEX_T joyGetPosEx
DWMISCOMPOSITIONENABLED_T DwmIsCompositionEnabled
CHANGEWINDOWMESSAGEFILTEREX_T ChangeWindowMessageFilterEx
TIMEGETTIME_T timeGetTime
typedef GLboolean(APIENTRYP PFNGLISQUERYPROC)(GLuint id)
SETPROCESSDPIAWARE_T SetProcessDPIAware
typedef BOOL(WINAPI *PFNWGLSAVEBUFFERREGIONARBPROC)(HANDLE hRegion
typedef VOID(WINAPI *PFNWGLDELETEBUFFERREGIONARBPROC)(HANDLE hRegion)
typedef void(APIENTRYP PFNGLDRAWRANGEELEMENTSPROC)(GLenum mode
GLsizei GLsizei GLchar * source
JOYGETDEVCAPS_T joyGetDevCaps
typedef UINT(WINAPI *PFNWGLGETGPUIDSAMDPROC)(UINT maxCount
DWORD foregroundLockTimeout