| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -86,6 +86,9 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#ifndef UNICODE_NOCHAR | 
					 | 
					 | 
					 | 
					#ifndef UNICODE_NOCHAR | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 #define UNICODE_NOCHAR 0xFFFF | 
					 | 
					 | 
					 | 
					 #define UNICODE_NOCHAR 0xFFFF | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#endif | 
					 | 
					 | 
					 | 
					#endif | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					#ifndef WM_DPICHANGED | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 #define WM_DPICHANGED 0x02E0 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					#endif | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#if WINVER < 0x0601 | 
					 | 
					 | 
					 | 
					#if WINVER < 0x0601 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					typedef struct tagCHANGEFILTERSTRUCT | 
					 | 
					 | 
					 | 
					typedef struct tagCHANGEFILTERSTRUCT | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -99,6 +102,15 @@ typedef struct tagCHANGEFILTERSTRUCT | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#endif | 
					 | 
					 | 
					 | 
					#endif | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#endif /*Windows 7*/ | 
					 | 
					 | 
					 | 
					#endif /*Windows 7*/ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					#ifndef DPI_ENUMS_DECLARED | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					typedef enum PROCESS_DPI_AWARENESS | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    PROCESS_DPI_UNAWARE = 0, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    PROCESS_SYSTEM_DPI_AWARE = 1, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    PROCESS_PER_MONITOR_DPI_AWARE = 2 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					} PROCESS_DPI_AWARENESS; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					#endif /*DPI_ENUMS_DECLARED*/ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					// winmm.dll function pointer typedefs
 | 
					 | 
					 | 
					 | 
					// winmm.dll function pointer typedefs
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					typedef MMRESULT (WINAPI * JOYGETDEVCAPS_T)(UINT,LPJOYCAPS,UINT); | 
					 | 
					 | 
					 | 
					typedef MMRESULT (WINAPI * JOYGETDEVCAPS_T)(UINT,LPJOYCAPS,UINT); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					typedef MMRESULT (WINAPI * JOYGETPOS_T)(UINT,LPJOYINFO); | 
					 | 
					 | 
					 | 
					typedef MMRESULT (WINAPI * JOYGETPOS_T)(UINT,LPJOYINFO); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -121,6 +133,10 @@ typedef HRESULT (WINAPI * DWMFLUSH_T)(VOID); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#define _glfw_DwmIsCompositionEnabled _glfw.win32.dwmapi.DwmIsCompositionEnabled | 
					 | 
					 | 
					 | 
					#define _glfw_DwmIsCompositionEnabled _glfw.win32.dwmapi.DwmIsCompositionEnabled | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#define _glfw_DwmFlush _glfw.win32.dwmapi.DwmFlush | 
					 | 
					 | 
					 | 
					#define _glfw_DwmFlush _glfw.win32.dwmapi.DwmFlush | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					// shcore.dll function pointer typedefs
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					typedef HRESULT (WINAPI * SETPROCESSDPIAWARENESS_T)(PROCESS_DPI_AWARENESS); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					#define _glfw_SetProcessDPIAwareness _glfw.win32.shcore.SetProcessDPIAwareness | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#include "win32_tls.h" | 
					 | 
					 | 
					 | 
					#include "win32_tls.h" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#include "winmm_joystick.h" | 
					 | 
					 | 
					 | 
					#include "winmm_joystick.h" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -191,6 +207,12 @@ typedef struct _GLFWlibraryWin32 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        DWMFLUSH_T      DwmFlush; | 
					 | 
					 | 
					 | 
					        DWMFLUSH_T      DwmFlush; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } dwmapi; | 
					 | 
					 | 
					 | 
					    } dwmapi; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    // shcore.dll
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    struct { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        HINSTANCE       instance; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        SETPROCESSDPIAWARENESS_T SetProcessDPIAwareness; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    } shcore; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} _GLFWlibraryWin32; | 
					 | 
					 | 
					 | 
					} _GLFWlibraryWin32; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |