unsigned get_keyboard_layout_list(int count, handle* layouts)
This function obtains the keyboard layout handles of the current set of input locales in the system.
The maximum number of handles that may be stored in the array specified by the next parameter. If zero is specified, the required buffer size is returned.
A pointer to a buffer to receive the array of handles.
|The function failed.
|The number of layout handles copied to the buffer or, if Count is zero, the size (in handles) of the buffer needed to receive all current layout handles.