Microsoft® Win32® Programmer's Reference
	Цитата: 
	
	
		
			
				The GetKeyboardLayout function retrieves the active keyboard layout for a specified thread. If the dwLayout parameter is zero, the layout for the active thread is returned. 
 
HKL GetKeyboardLayout( 
    DWORD dwLayout	// thread identifier 
   );	  
 
Parameters 
 
dwLayout 
Identifies the thread to query or is zero for the current thread.  
 
Return Values 
 
The return value is the keyboard layout handle for the thread. The low word contains a locale identifier identifying the input language and the high word contains a device handle identifying the physical layout of the keyboard.
			
		 | 
	 
	 
  
		
	
		
		
		
		
			
		
		
		
		
	
		
		
	
	
	 |