| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -160,10 +160,16 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            wcscpy(monitors[found]->win32.adapterName, adapter.DeviceName); | 
					 | 
					 | 
					 | 
					            wcscpy(monitors[found]->win32.adapterName, adapter.DeviceName); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            wcscpy(monitors[found]->win32.displayName, display.DeviceName); | 
					 | 
					 | 
					 | 
					            wcscpy(monitors[found]->win32.displayName, display.DeviceName); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            WideCharToMultiByte(CP_UTF8, 0, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                                adapter.DeviceName, -1, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                                monitors[found]->win32.publicAdapterName, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                                sizeof(monitors[found]->win32.publicAdapterName), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                                NULL, NULL); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            WideCharToMultiByte(CP_UTF8, 0, | 
					 | 
					 | 
					 | 
					            WideCharToMultiByte(CP_UTF8, 0, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                display.DeviceName, -1, | 
					 | 
					 | 
					 | 
					                                display.DeviceName, -1, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                monitors[found]->win32.nativeName, | 
					 | 
					 | 
					 | 
					                                monitors[found]->win32.publicDisplayName, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                sizeof(monitors[found]->win32.nativeName), | 
					 | 
					 | 
					 | 
					                                sizeof(monitors[found]->win32.publicDisplayName), | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                NULL, NULL); | 
					 | 
					 | 
					 | 
					                                NULL, NULL); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (adapter.StateFlags & DISPLAY_DEVICE_PRIMARY_DEVICE && | 
					 | 
					 | 
					 | 
					            if (adapter.StateFlags & DISPLAY_DEVICE_PRIMARY_DEVICE && | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -326,10 +332,17 @@ void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//////                        GLFW native API                       //////
 | 
					 | 
					 | 
					 | 
					//////                        GLFW native API                       //////
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//////////////////////////////////////////////////////////////////////////
 | 
					 | 
					 | 
					 | 
					//////////////////////////////////////////////////////////////////////////
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					GLFWAPI const char* glfwGetWin32Adapter(GLFWmonitor* handle) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    _GLFWmonitor* monitor = (_GLFWmonitor*) handle; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    _GLFW_REQUIRE_INIT_OR_RETURN(NULL); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    return monitor->win32.publicAdapterName; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					GLFWAPI const char* glfwGetWin32Monitor(GLFWmonitor* handle) | 
					 | 
					 | 
					 | 
					GLFWAPI const char* glfwGetWin32Monitor(GLFWmonitor* handle) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					{ | 
					 | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    _GLFWmonitor* monitor = (_GLFWmonitor*) handle; | 
					 | 
					 | 
					 | 
					    _GLFWmonitor* monitor = (_GLFWmonitor*) handle; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    _GLFW_REQUIRE_INIT_OR_RETURN(NULL); | 
					 | 
					 | 
					 | 
					    _GLFW_REQUIRE_INIT_OR_RETURN(NULL); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    return monitor->win32.nativeName; | 
					 | 
					 | 
					 | 
					    return monitor->win32.publicDisplayName; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
  |