Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
win32_platform.h File Reference
#include <wctype.h>
#include <windows.h>
#include <dinput.h>
#include <xinput.h>
#include <dbt.h>
#include "win32_joystick.h"
#include "wgl_context.h"
+ Include dependency graph for win32_platform.h:

Go to the source code of this file.

Classes

struct  CHANGEFILTERSTRUCT
 
struct  DWM_BLURBEHIND
 
struct  VkWin32SurfaceCreateInfoKHR
 
struct  _GLFWwindowWin32
 
struct  _GLFWlibraryWin32
 
struct  _GLFWmonitorWin32
 
struct  _GLFWcursorWin32
 
struct  _GLFWtimerWin32
 
struct  _GLFWtlsWin32
 
struct  _GLFWmutexWin32
 

Macros

#define VC_EXTRALEAN
 
#define WIN32_LEAN_AND_MEAN
 
#define UNICODE
 
#define WINVER   0x0501
 
#define _WIN32_WINNT   0x0501
 
#define DIRECTINPUT_VERSION   0x0800
 
#define OEMRESOURCE
 
#define WM_MOUSEHWHEEL   0x020E
 
#define WM_DWMCOMPOSITIONCHANGED   0x031E
 
#define WM_DWMCOLORIZATIONCOLORCHANGED   0x0320
 
#define WM_COPYGLOBALDATA   0x0049
 
#define WM_UNICHAR   0x0109
 
#define UNICODE_NOCHAR   0xFFFF
 
#define WM_DPICHANGED   0x02E0
 
#define GET_XBUTTON_WPARAM(w)   (HIWORD(w))
 
#define EDS_ROTATEDMODE   0x00000004
 
#define DISPLAY_DEVICE_ACTIVE   0x00000001
 
#define _WIN32_WINNT_WINBLUE   0x0603
 
#define _WIN32_WINNT_WIN8   0x0602
 
#define WM_GETDPISCALEDSIZE   0x02e4
 
#define USER_DEFAULT_SCREEN_DPI   96
 
#define OCR_HAND   32649
 
#define MSGFLT_ALLOW   1
 
#define DWM_BB_ENABLE   0x00000001
 
#define DWM_BB_BLURREGION   0x00000002
 
#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2   ((HANDLE) -4)
 
#define IsWindowsVistaOrGreater()
 
#define IsWindows7OrGreater()
 
#define IsWindows8OrGreater()
 
#define IsWindows8Point1OrGreater()
 
#define _glfwIsWindows10AnniversaryUpdateOrGreaterWin32()    _glfwIsWindows10BuildOrGreaterWin32(14393)
 
#define _glfwIsWindows10CreatorsUpdateOrGreaterWin32()    _glfwIsWindows10BuildOrGreaterWin32(15063)
 
#define XINPUT_CAPS_WIRELESS   0x0002
 
#define XINPUT_DEVSUBTYPE_WHEEL   0x02
 
#define XINPUT_DEVSUBTYPE_ARCADE_STICK   0x03
 
#define XINPUT_DEVSUBTYPE_FLIGHT_STICK   0x04
 
#define XINPUT_DEVSUBTYPE_DANCE_PAD   0x05
 
#define XINPUT_DEVSUBTYPE_GUITAR   0x06
 
#define XINPUT_DEVSUBTYPE_DRUM_KIT   0x08
 
#define XINPUT_DEVSUBTYPE_ARCADE_PAD   0x13
 
#define XUSER_MAX_COUNT   4
 
#define DIDFT_OPTIONAL   0x80000000
 
#define timeGetTime   _glfw.win32.winmm.GetTime
 
#define XInputGetCapabilities   _glfw.win32.xinput.GetCapabilities
 
#define XInputGetState   _glfw.win32.xinput.GetState
 
#define DirectInput8Create   _glfw.win32.dinput8.Create
 
#define SetProcessDPIAware   _glfw.win32.user32.SetProcessDPIAware_
 
#define ChangeWindowMessageFilterEx   _glfw.win32.user32.ChangeWindowMessageFilterEx_
 
#define EnableNonClientDpiScaling   _glfw.win32.user32.EnableNonClientDpiScaling_
 
#define SetProcessDpiAwarenessContext   _glfw.win32.user32.SetProcessDpiAwarenessContext_
 
#define GetDpiForWindow   _glfw.win32.user32.GetDpiForWindow_
 
#define AdjustWindowRectExForDpi   _glfw.win32.user32.AdjustWindowRectExForDpi_
 
#define DwmIsCompositionEnabled   _glfw.win32.dwmapi.IsCompositionEnabled
 
#define DwmFlush   _glfw.win32.dwmapi.Flush
 
#define DwmEnableBlurBehindWindow   _glfw.win32.dwmapi.EnableBlurBehindWindow
 
#define DwmGetColorizationColor   _glfw.win32.dwmapi.GetColorizationColor
 
#define SetProcessDpiAwareness   _glfw.win32.shcore.SetProcessDpiAwareness_
 
#define GetDpiForMonitor   _glfw.win32.shcore.GetDpiForMonitor_
 
#define RtlVerifyVersionInfo   _glfw.win32.ntdll.RtlVerifyVersionInfo_
 
#define _GLFW_WNDCLASSNAME   L"GLFW30"
 
#define _glfw_dlopen(name)   LoadLibraryA(name)
 
#define _glfw_dlclose(handle)   FreeLibrary((HMODULE) handle)
 
#define _glfw_dlsym(handle, name)   GetProcAddress((HMODULE) handle, name)
 
#define _GLFW_PLATFORM_WINDOW_STATE   _GLFWwindowWin32 win32
 
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE   _GLFWlibraryWin32 win32
 
#define _GLFW_PLATFORM_LIBRARY_TIMER_STATE   _GLFWtimerWin32 win32
 
#define _GLFW_PLATFORM_MONITOR_STATE   _GLFWmonitorWin32 win32
 
#define _GLFW_PLATFORM_CURSOR_STATE   _GLFWcursorWin32 win32
 
#define _GLFW_PLATFORM_TLS_STATE   _GLFWtlsWin32 win32
 
#define _GLFW_PLATFORM_MUTEX_STATE   _GLFWmutexWin32 win32
 

Typedefs

typedef DWORD(WINAPI * PFN_timeGetTime) (void)
 
typedef DWORD(WINAPI * PFN_XInputGetCapabilities) (DWORD, DWORD, XINPUT_CAPABILITIES *)
 
typedef DWORD(WINAPI * PFN_XInputGetState) (DWORD, XINPUT_STATE *)
 
typedef HRESULT(WINAPI * PFN_DirectInput8Create) (HINSTANCE, DWORD, REFIID, LPVOID *, LPUNKNOWN)
 
typedef BOOL(WINAPI * PFN_SetProcessDPIAware) (void)
 
typedef BOOL(WINAPI * PFN_ChangeWindowMessageFilterEx) (HWND, UINT, DWORD, CHANGEFILTERSTRUCT *)
 
typedef BOOL(WINAPI * PFN_EnableNonClientDpiScaling) (HWND)
 
typedef BOOL(WINAPI * PFN_SetProcessDpiAwarenessContext) (HANDLE)
 
typedef UINT(WINAPI * PFN_GetDpiForWindow) (HWND)
 
typedef BOOL(WINAPI * PFN_AdjustWindowRectExForDpi) (LPRECT, DWORD, BOOL, DWORD, UINT)
 
typedef HRESULT(WINAPI * PFN_DwmIsCompositionEnabled) (BOOL *)
 
typedef HRESULT(WINAPI * PFN_DwmFlush) (VOID)
 
typedef HRESULT(WINAPI * PFN_DwmEnableBlurBehindWindow) (HWND, const DWM_BLURBEHIND *)
 
typedef HRESULT(WINAPI * PFN_DwmGetColorizationColor) (DWORD *, BOOL *)
 
typedef HRESULT(WINAPI * PFN_SetProcessDpiAwareness) (PROCESS_DPI_AWARENESS)
 
typedef HRESULT(WINAPI * PFN_GetDpiForMonitor) (HMONITOR, MONITOR_DPI_TYPE, UINT *, UINT *)
 
typedef LONG(WINAPI * PFN_RtlVerifyVersionInfo) (OSVERSIONINFOEXW *, ULONG, ULONGLONG)
 
typedef VkFlags VkWin32SurfaceCreateFlagsKHR
 
typedef struct VkWin32SurfaceCreateInfoKHR VkWin32SurfaceCreateInfoKHR
 
typedef VkResult(APIENTRYPFN_vkCreateWin32SurfaceKHR) (VkInstance, const VkWin32SurfaceCreateInfoKHR *, const VkAllocationCallbacks *, VkSurfaceKHR *)
 
typedef VkBool32(APIENTRYPFN_vkGetPhysicalDeviceWin32PresentationSupportKHR) (VkPhysicalDevice, uint32_t)
 
typedef struct _GLFWwindowWin32 _GLFWwindowWin32
 
typedef struct _GLFWlibraryWin32 _GLFWlibraryWin32
 
typedef struct _GLFWmonitorWin32 _GLFWmonitorWin32
 
typedef struct _GLFWcursorWin32 _GLFWcursorWin32
 
typedef struct _GLFWtimerWin32 _GLFWtimerWin32
 
typedef struct _GLFWtlsWin32 _GLFWtlsWin32
 
typedef struct _GLFWmutexWin32 _GLFWmutexWin32
 

Enumerations

enum  PROCESS_DPI_AWARENESS { PROCESS_DPI_UNAWARE = 0 , PROCESS_SYSTEM_DPI_AWARE = 1 , PROCESS_PER_MONITOR_DPI_AWARE = 2 }
 
enum  MONITOR_DPI_TYPE { MDT_EFFECTIVE_DPI = 0 , MDT_ANGULAR_DPI = 1 , MDT_RAW_DPI = 2 , MDT_DEFAULT = MDT_EFFECTIVE_DPI }
 

Functions

GLFWbool _glfwRegisterWindowClassWin32 (void)
 
void _glfwUnregisterWindowClassWin32 (void)
 
WCHAR * _glfwCreateWideStringFromUTF8Win32 (const char *source)
 
char * _glfwCreateUTF8FromWideStringWin32 (const WCHAR *source)
 
BOOL _glfwIsWindowsVersionOrGreaterWin32 (WORD major, WORD minor, WORD sp)
 
BOOL _glfwIsWindows10BuildOrGreaterWin32 (WORD build)
 
void _glfwInputErrorWin32 (int error, const char *description)
 
void _glfwUpdateKeyNamesWin32 (void)
 
void _glfwInitTimerWin32 (void)
 
void _glfwPollMonitorsWin32 (void)
 
void _glfwSetVideoModeWin32 (_GLFWmonitor *monitor, const GLFWvidmode *desired)
 
void _glfwRestoreVideoModeWin32 (_GLFWmonitor *monitor)
 
void _glfwGetMonitorContentScaleWin32 (HMONITOR handle, float *xscale, float *yscale)
 

Macro Definition Documentation

◆ _glfw_dlclose

#define _glfw_dlclose (   handle)    FreeLibrary((HMODULE) handle)

Definition at line 288 of file win32_platform.h.

◆ _glfw_dlopen

#define _glfw_dlopen (   name)    LoadLibraryA(name)

Definition at line 287 of file win32_platform.h.

◆ _glfw_dlsym

#define _glfw_dlsym (   handle,
  name 
)    GetProcAddress((HMODULE) handle, name)

Definition at line 289 of file win32_platform.h.

◆ _GLFW_PLATFORM_CURSOR_STATE

#define _GLFW_PLATFORM_CURSOR_STATE   _GLFWcursorWin32 win32

Definition at line 295 of file win32_platform.h.

◆ _GLFW_PLATFORM_LIBRARY_TIMER_STATE

#define _GLFW_PLATFORM_LIBRARY_TIMER_STATE   _GLFWtimerWin32 win32

Definition at line 293 of file win32_platform.h.

◆ _GLFW_PLATFORM_LIBRARY_WINDOW_STATE

#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE   _GLFWlibraryWin32 win32

Definition at line 292 of file win32_platform.h.

◆ _GLFW_PLATFORM_MONITOR_STATE

#define _GLFW_PLATFORM_MONITOR_STATE   _GLFWmonitorWin32 win32

Definition at line 294 of file win32_platform.h.

◆ _GLFW_PLATFORM_MUTEX_STATE

#define _GLFW_PLATFORM_MUTEX_STATE   _GLFWmutexWin32 win32

Definition at line 297 of file win32_platform.h.

◆ _GLFW_PLATFORM_TLS_STATE

#define _GLFW_PLATFORM_TLS_STATE   _GLFWtlsWin32 win32

Definition at line 296 of file win32_platform.h.

◆ _GLFW_PLATFORM_WINDOW_STATE

#define _GLFW_PLATFORM_WINDOW_STATE   _GLFWwindowWin32 win32

Definition at line 291 of file win32_platform.h.

◆ _GLFW_WNDCLASSNAME

#define _GLFW_WNDCLASSNAME   L"GLFW30"

Definition at line 284 of file win32_platform.h.

◆ _glfwIsWindows10AnniversaryUpdateOrGreaterWin32

#define _glfwIsWindows10AnniversaryUpdateOrGreaterWin32 ( )     _glfwIsWindows10BuildOrGreaterWin32(14393)

Definition at line 179 of file win32_platform.h.

◆ _glfwIsWindows10CreatorsUpdateOrGreaterWin32

#define _glfwIsWindows10CreatorsUpdateOrGreaterWin32 ( )     _glfwIsWindows10BuildOrGreaterWin32(15063)

Definition at line 181 of file win32_platform.h.

◆ _WIN32_WINNT

#define _WIN32_WINNT   0x0501

Definition at line 58 of file win32_platform.h.

◆ _WIN32_WINNT_WIN8

#define _WIN32_WINNT_WIN8   0x0602

Definition at line 108 of file win32_platform.h.

◆ _WIN32_WINNT_WINBLUE

#define _WIN32_WINNT_WINBLUE   0x0603

Definition at line 105 of file win32_platform.h.

◆ AdjustWindowRectExForDpi

#define AdjustWindowRectExForDpi   _glfw.win32.user32.AdjustWindowRectExForDpi_

Definition at line 244 of file win32_platform.h.

◆ ChangeWindowMessageFilterEx

#define ChangeWindowMessageFilterEx   _glfw.win32.user32.ChangeWindowMessageFilterEx_

Definition at line 240 of file win32_platform.h.

◆ DIDFT_OPTIONAL

#define DIDFT_OPTIONAL   0x80000000

Definition at line 215 of file win32_platform.h.

◆ DirectInput8Create

#define DirectInput8Create   _glfw.win32.dinput8.Create

Definition at line 230 of file win32_platform.h.

◆ DIRECTINPUT_VERSION

#define DIRECTINPUT_VERSION   0x0800

Definition at line 62 of file win32_platform.h.

◆ DISPLAY_DEVICE_ACTIVE

#define DISPLAY_DEVICE_ACTIVE   0x00000001

Definition at line 102 of file win32_platform.h.

◆ DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2

#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2   ((HANDLE) -4)

Definition at line 162 of file win32_platform.h.

◆ DWM_BB_BLURREGION

#define DWM_BB_BLURREGION   0x00000002

Definition at line 133 of file win32_platform.h.

◆ DWM_BB_ENABLE

#define DWM_BB_ENABLE   0x00000001

Definition at line 132 of file win32_platform.h.

◆ DwmEnableBlurBehindWindow

#define DwmEnableBlurBehindWindow   _glfw.win32.dwmapi.EnableBlurBehindWindow

Definition at line 253 of file win32_platform.h.

◆ DwmFlush

#define DwmFlush   _glfw.win32.dwmapi.Flush

Definition at line 252 of file win32_platform.h.

◆ DwmGetColorizationColor

#define DwmGetColorizationColor   _glfw.win32.dwmapi.GetColorizationColor

Definition at line 254 of file win32_platform.h.

◆ DwmIsCompositionEnabled

#define DwmIsCompositionEnabled   _glfw.win32.dwmapi.IsCompositionEnabled

Definition at line 251 of file win32_platform.h.

◆ EDS_ROTATEDMODE

#define EDS_ROTATEDMODE   0x00000004

Definition at line 99 of file win32_platform.h.

◆ EnableNonClientDpiScaling

#define EnableNonClientDpiScaling   _glfw.win32.user32.EnableNonClientDpiScaling_

Definition at line 241 of file win32_platform.h.

◆ GET_XBUTTON_WPARAM

#define GET_XBUTTON_WPARAM (   w)    (HIWORD(w))

Definition at line 96 of file win32_platform.h.

◆ GetDpiForMonitor

#define GetDpiForMonitor   _glfw.win32.shcore.GetDpiForMonitor_

Definition at line 260 of file win32_platform.h.

◆ GetDpiForWindow

#define GetDpiForWindow   _glfw.win32.user32.GetDpiForWindow_

Definition at line 243 of file win32_platform.h.

◆ IsWindows7OrGreater

#define IsWindows7OrGreater ( )
Value:
_glfwIsWindowsVersionOrGreaterWin32(HIBYTE(_WIN32_WINNT_WIN7), \
LOBYTE(_WIN32_WINNT_WIN7), 0)
BOOL _glfwIsWindowsVersionOrGreaterWin32(WORD major, WORD minor, WORD sp)
Definition: win32_init.c:526

Definition at line 169 of file win32_platform.h.

◆ IsWindows8OrGreater

#define IsWindows8OrGreater ( )
Value:

Definition at line 172 of file win32_platform.h.

◆ IsWindows8Point1OrGreater

#define IsWindows8Point1OrGreater ( )
Value:

Definition at line 175 of file win32_platform.h.

◆ IsWindowsVistaOrGreater

#define IsWindowsVistaOrGreater ( )
Value:
_glfwIsWindowsVersionOrGreaterWin32(HIBYTE(_WIN32_WINNT_VISTA), \
LOBYTE(_WIN32_WINNT_VISTA), 0)

Definition at line 166 of file win32_platform.h.

◆ MSGFLT_ALLOW

#define MSGFLT_ALLOW   1

Definition at line 127 of file win32_platform.h.

◆ OCR_HAND

#define OCR_HAND   32649

Definition at line 117 of file win32_platform.h.

◆ OEMRESOURCE

#define OEMRESOURCE

Definition at line 65 of file win32_platform.h.

◆ RtlVerifyVersionInfo

#define RtlVerifyVersionInfo   _glfw.win32.ntdll.RtlVerifyVersionInfo_

Definition at line 264 of file win32_platform.h.

◆ SetProcessDPIAware

#define SetProcessDPIAware   _glfw.win32.user32.SetProcessDPIAware_

Definition at line 239 of file win32_platform.h.

◆ SetProcessDpiAwareness

#define SetProcessDpiAwareness   _glfw.win32.shcore.SetProcessDpiAwareness_

Definition at line 259 of file win32_platform.h.

◆ SetProcessDpiAwarenessContext

#define SetProcessDpiAwarenessContext   _glfw.win32.user32.SetProcessDpiAwarenessContext_

Definition at line 242 of file win32_platform.h.

◆ timeGetTime

#define timeGetTime   _glfw.win32.winmm.GetTime

Definition at line 220 of file win32_platform.h.

◆ UNICODE

#define UNICODE

Definition at line 48 of file win32_platform.h.

◆ UNICODE_NOCHAR

#define UNICODE_NOCHAR   0xFFFF

Definition at line 90 of file win32_platform.h.

◆ USER_DEFAULT_SCREEN_DPI

#define USER_DEFAULT_SCREEN_DPI   96

Definition at line 114 of file win32_platform.h.

◆ VC_EXTRALEAN

#define VC_EXTRALEAN

Definition at line 34 of file win32_platform.h.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 38 of file win32_platform.h.

◆ WINVER

#define WINVER   0x0501

Definition at line 54 of file win32_platform.h.

◆ WM_COPYGLOBALDATA

#define WM_COPYGLOBALDATA   0x0049

Definition at line 84 of file win32_platform.h.

◆ WM_DPICHANGED

#define WM_DPICHANGED   0x02E0

Definition at line 93 of file win32_platform.h.

◆ WM_DWMCOLORIZATIONCOLORCHANGED

#define WM_DWMCOLORIZATIONCOLORCHANGED   0x0320

Definition at line 81 of file win32_platform.h.

◆ WM_DWMCOMPOSITIONCHANGED

#define WM_DWMCOMPOSITIONCHANGED   0x031E

Definition at line 78 of file win32_platform.h.

◆ WM_GETDPISCALEDSIZE

#define WM_GETDPISCALEDSIZE   0x02e4

Definition at line 111 of file win32_platform.h.

◆ WM_MOUSEHWHEEL

#define WM_MOUSEHWHEEL   0x020E

Definition at line 75 of file win32_platform.h.

◆ WM_UNICHAR

#define WM_UNICHAR   0x0109

Definition at line 87 of file win32_platform.h.

◆ XINPUT_CAPS_WIRELESS

#define XINPUT_CAPS_WIRELESS   0x0002

Definition at line 186 of file win32_platform.h.

◆ XINPUT_DEVSUBTYPE_ARCADE_PAD

#define XINPUT_DEVSUBTYPE_ARCADE_PAD   0x13

Definition at line 207 of file win32_platform.h.

◆ XINPUT_DEVSUBTYPE_ARCADE_STICK

#define XINPUT_DEVSUBTYPE_ARCADE_STICK   0x03

Definition at line 192 of file win32_platform.h.

◆ XINPUT_DEVSUBTYPE_DANCE_PAD

#define XINPUT_DEVSUBTYPE_DANCE_PAD   0x05

Definition at line 198 of file win32_platform.h.

◆ XINPUT_DEVSUBTYPE_DRUM_KIT

#define XINPUT_DEVSUBTYPE_DRUM_KIT   0x08

Definition at line 204 of file win32_platform.h.

◆ XINPUT_DEVSUBTYPE_FLIGHT_STICK

#define XINPUT_DEVSUBTYPE_FLIGHT_STICK   0x04

Definition at line 195 of file win32_platform.h.

◆ XINPUT_DEVSUBTYPE_GUITAR

#define XINPUT_DEVSUBTYPE_GUITAR   0x06

Definition at line 201 of file win32_platform.h.

◆ XINPUT_DEVSUBTYPE_WHEEL

#define XINPUT_DEVSUBTYPE_WHEEL   0x02

Definition at line 189 of file win32_platform.h.

◆ XInputGetCapabilities

#define XInputGetCapabilities   _glfw.win32.xinput.GetCapabilities

Definition at line 225 of file win32_platform.h.

◆ XInputGetState

#define XInputGetState   _glfw.win32.xinput.GetState

Definition at line 226 of file win32_platform.h.

◆ XUSER_MAX_COUNT

#define XUSER_MAX_COUNT   4

Definition at line 210 of file win32_platform.h.

Typedef Documentation

◆ _GLFWcursorWin32

◆ _GLFWlibraryWin32

◆ _GLFWmonitorWin32

◆ _GLFWmutexWin32

◆ _GLFWtimerWin32

◆ _GLFWtlsWin32

typedef struct _GLFWtlsWin32 _GLFWtlsWin32

◆ _GLFWwindowWin32

◆ PFN_AdjustWindowRectExForDpi

typedef BOOL(WINAPI * PFN_AdjustWindowRectExForDpi) (LPRECT, DWORD, BOOL, DWORD, UINT)

Definition at line 238 of file win32_platform.h.

◆ PFN_ChangeWindowMessageFilterEx

typedef BOOL(WINAPI * PFN_ChangeWindowMessageFilterEx) (HWND, UINT, DWORD, CHANGEFILTERSTRUCT *)

Definition at line 234 of file win32_platform.h.

◆ PFN_DirectInput8Create

typedef HRESULT(WINAPI * PFN_DirectInput8Create) (HINSTANCE, DWORD, REFIID, LPVOID *, LPUNKNOWN)

Definition at line 229 of file win32_platform.h.

◆ PFN_DwmEnableBlurBehindWindow

typedef HRESULT(WINAPI * PFN_DwmEnableBlurBehindWindow) (HWND, const DWM_BLURBEHIND *)

Definition at line 249 of file win32_platform.h.

◆ PFN_DwmFlush

typedef HRESULT(WINAPI * PFN_DwmFlush) (VOID)

Definition at line 248 of file win32_platform.h.

◆ PFN_DwmGetColorizationColor

typedef HRESULT(WINAPI * PFN_DwmGetColorizationColor) (DWORD *, BOOL *)

Definition at line 250 of file win32_platform.h.

◆ PFN_DwmIsCompositionEnabled

typedef HRESULT(WINAPI * PFN_DwmIsCompositionEnabled) (BOOL *)

Definition at line 247 of file win32_platform.h.

◆ PFN_EnableNonClientDpiScaling

typedef BOOL(WINAPI * PFN_EnableNonClientDpiScaling) (HWND)

Definition at line 235 of file win32_platform.h.

◆ PFN_GetDpiForMonitor

typedef HRESULT(WINAPI * PFN_GetDpiForMonitor) (HMONITOR, MONITOR_DPI_TYPE, UINT *, UINT *)

Definition at line 258 of file win32_platform.h.

◆ PFN_GetDpiForWindow

typedef UINT(WINAPI * PFN_GetDpiForWindow) (HWND)

Definition at line 237 of file win32_platform.h.

◆ PFN_RtlVerifyVersionInfo

typedef LONG(WINAPI * PFN_RtlVerifyVersionInfo) (OSVERSIONINFOEXW *, ULONG, ULONGLONG)

Definition at line 263 of file win32_platform.h.

◆ PFN_SetProcessDPIAware

typedef BOOL(WINAPI * PFN_SetProcessDPIAware) (void)

Definition at line 233 of file win32_platform.h.

◆ PFN_SetProcessDpiAwareness

typedef HRESULT(WINAPI * PFN_SetProcessDpiAwareness) (PROCESS_DPI_AWARENESS)

Definition at line 257 of file win32_platform.h.

◆ PFN_SetProcessDpiAwarenessContext

typedef BOOL(WINAPI * PFN_SetProcessDpiAwarenessContext) (HANDLE)

Definition at line 236 of file win32_platform.h.

◆ PFN_timeGetTime

typedef DWORD(WINAPI * PFN_timeGetTime) (void)

Definition at line 219 of file win32_platform.h.

◆ PFN_vkCreateWin32SurfaceKHR

typedef VkResult(APIENTRY * PFN_vkCreateWin32SurfaceKHR) (VkInstance, const VkWin32SurfaceCreateInfoKHR *, const VkAllocationCallbacks *, VkSurfaceKHR *)

Definition at line 277 of file win32_platform.h.

◆ PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR

typedef VkBool32(APIENTRY * PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR) (VkPhysicalDevice, uint32_t)

Definition at line 278 of file win32_platform.h.

◆ PFN_XInputGetCapabilities

typedef DWORD(WINAPI * PFN_XInputGetCapabilities) (DWORD, DWORD, XINPUT_CAPABILITIES *)

Definition at line 223 of file win32_platform.h.

◆ PFN_XInputGetState

typedef DWORD(WINAPI * PFN_XInputGetState) (DWORD, XINPUT_STATE *)

Definition at line 224 of file win32_platform.h.

◆ VkWin32SurfaceCreateFlagsKHR

Definition at line 266 of file win32_platform.h.

◆ VkWin32SurfaceCreateInfoKHR

Enumeration Type Documentation

◆ MONITOR_DPI_TYPE

Enumerator
MDT_EFFECTIVE_DPI 
MDT_ANGULAR_DPI 
MDT_RAW_DPI 
MDT_DEFAULT 

Definition at line 152 of file win32_platform.h.

◆ PROCESS_DPI_AWARENESS

Enumerator
PROCESS_DPI_UNAWARE 
PROCESS_SYSTEM_DPI_AWARE 
PROCESS_PER_MONITOR_DPI_AWARE 

Definition at line 146 of file win32_platform.h.

Function Documentation

◆ _glfwCreateUTF8FromWideStringWin32()

char * _glfwCreateUTF8FromWideStringWin32 ( const WCHAR *  source)

Definition at line 423 of file win32_init.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwCreateWideStringFromUTF8Win32()

WCHAR * _glfwCreateWideStringFromUTF8Win32 ( const char *  source)

Definition at line 395 of file win32_init.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwGetMonitorContentScaleWin32()

void _glfwGetMonitorContentScaleWin32 ( HMONITOR  handle,
float *  xscale,
float *  yscale 
)

Definition at line 317 of file win32_monitor.c.

+ Here is the caller graph for this function:

◆ _glfwInitTimerWin32()

void _glfwInitTimerWin32 ( void  )

Definition at line 39 of file win32_time.c.

+ Here is the caller graph for this function:

◆ _glfwInputErrorWin32()

void _glfwInputErrorWin32 ( int  error,
const char *  description 
)

Definition at line 451 of file win32_init.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwIsWindows10BuildOrGreaterWin32()

BOOL _glfwIsWindows10BuildOrGreaterWin32 ( WORD  build)

Definition at line 541 of file win32_init.c.

◆ _glfwIsWindowsVersionOrGreaterWin32()

BOOL _glfwIsWindowsVersionOrGreaterWin32 ( WORD  major,
WORD  minor,
WORD  sp 
)

Definition at line 526 of file win32_init.c.

◆ _glfwPollMonitorsWin32()

void _glfwPollMonitorsWin32 ( void  )

Definition at line 137 of file win32_monitor.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwRegisterWindowClassWin32()

GLFWbool _glfwRegisterWindowClassWin32 ( void  )

Definition at line 1350 of file win32_window.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwRestoreVideoModeWin32()

void _glfwRestoreVideoModeWin32 ( _GLFWmonitor monitor)

Definition at line 307 of file win32_monitor.c.

◆ _glfwSetVideoModeWin32()

void _glfwSetVideoModeWin32 ( _GLFWmonitor monitor,
const GLFWvidmode desired 
)

Definition at line 249 of file win32_monitor.c.

+ Here is the call graph for this function:

◆ _glfwUnregisterWindowClassWin32()

void _glfwUnregisterWindowClassWin32 ( void  )

Definition at line 1386 of file win32_window.c.

+ Here is the caller graph for this function:

◆ _glfwUpdateKeyNamesWin32()

void _glfwUpdateKeyNamesWin32 ( void  )

Definition at line 472 of file win32_init.c.

+ Here is the caller graph for this function: