Share via


Keyboard Driver MDD Functions (Compact 2013)

3/26/2014

The following table shows the model device driver (MDD) keyboard driver functions.

Programming element

Description

PFN_KEYBD_DRIVER_GET_INFO

This function retrieves information about the keyboard and driver.

PFN_KEYBD_DRIVER_INITIALIZE_EX2

This function initializes the keyboard driver.

PFN_KEYBD_DRIVER_INIT_STATES

This function initializes the virtual-key code state and driver-specific state.

PFN_KEYBD_DRIVER_MAP_VIRTUAL_KEY

This function implements the functionality of MapVirtualKey. It is called by MapVirtualKey.

PFN_KEYBD_DRIVER_POWER_HANDLER

This function handles system power-state change notifications.

PFN_KEYBD_DRIVER_SET_MODE

This function sets auto-repeat information for the keyboard device.

PFN_KEYBD_DRIVER_VKEY_TO_UNICODE

This function generates the appropriate Unicode characters and SHIFT state flags for a specified virtual-key code, key state array, and driver state.

PFN_KEYBD_EVENT_CALLBACK_EX2

This function is a prototype of the callback function passed to the PFN_KEYBD_DRIVER_INITIALIZE_EX2 function.

PFN_LAYOUT_MGR_ACTIVATE_KEYBOARD_LAYOUT

This function activates an input locale.

PFN_LAYOUT_MGR_GET_KEYBOARD_LAYOUT

This function returns the current input locale identifier.

PFN_LAYOUT_MGR_GET_KEYBOARD_LAYOUT_LIST

This function fills a buffer with a list of available input locale identifier handles.

PFN_LAYOUT_MGR_GET_KEYBOARD_LAYOUT_NAME

This function retrieves the name of the active input locale identifier.

PFN_LAYOUT_MGR_GET_KEYBOARD_TYPE

This function retrieves information about the current keyboard.

PFN_LAYOUT_MGR_LOAD_KEYBOARD_LAYOUT

This function places the specified layout in the available layout list.

See Also

Reference

Keyboard and Mouse Driver Reference