Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
Windows Mobile Supported Windows Embedded CE Supported
4/14/2010

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

This function initializes the keyboard driver one time only.

PFN_KEYBD_DRIVER_INITIALIZE_EX

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

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

PFN_KEYBD_EVENT_CALLBACK_EX

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

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.