Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.13 KB

GetKeyboardLayoutList.md

File metadata and controls

46 lines (32 loc) · 1.13 KB

Home

Function name : GetKeyboardLayoutList

Group: Keyboard Input - Library: user32


The GetKeyboardLayoutList function retrieves the input locale identifiers (formerly called keyboard layout handles) corresponding to the current set of input locales in the system.


Code examples:

Switching between keyboard layouts

Declaration:

UINT GetKeyboardLayoutList(
  int nBuff,       // size of array
  HKL FAR *lpList  // array of input locale identifiers
);  

FoxPro declaration:

DECLARE INTEGER GetKeyboardLayoutList IN user32;
	INTEGER   nBuff,;
	STRING  @ lpList  

Parameters:

nBuff [in] Specifies the maximum number of handles that the buffer can hold.

lpList [out] Pointer to the buffer that receives the array of input locale identifiers.


Return value:

If the function succeeds, the return value is the number of input locale identifiers copied to the buffer.