get_keyboard_layout_list


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.

Parameters

int count

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.

handle* layouts

A pointer to a buffer to receive the array of handles.

Return

unsigned

Zero The function failed.
Other 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.