|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.|
This function is a prototype of the callback function passed to the PFN_KEYBD_DRIVER_INITIALIZE_EXfunction.
typedef BOOL (*PFN_KEYBD_EVENT_CALLBACK_EX)( UINT32 VirtualKey, UINT32 ScanCode, KEY_STATE_FLAGS KeyEvent );
[in] Virtual-key code or event code. For more information on the VirtualKeylayout, see %_WINCEROOT%\Public\Common\OAK\Inc\Keybddr.h.
[in] Hardware scan code for the key.
[in] KeyStateDownFlag flag that is set or cleared.
This function is deprecated. The keyboard driver does not implement this function.
This function is the prototype of the function passed into the driver by the Graphics, Windowing, and Events Subsystem (GWES) when it calls the PFN_KEYBD_DRIVER_INITIALIZE_EXfunction. The driver calls the callback function whenever there is a keyboard event.
The KeyStateDownFlagfield in the KeyEventparameter is set for a key-down event and clear for a key-up event. All other bits in KeyEventmust be zero. The VirtualKeyparameter has more than just the virtual-key code information. When a keyboard is connected or disconnected, the appropriate connect-event code or disconnect-event code set in the VirtualKeyparameter must signal an event.
In keyboard drivers that do not conform to Layout Manager, this API also passes key codes to the model device driver (MDD). For information about controlling key click with the VirtualKey parameter, see %_WINCEROOT%\Public\Common\OAK\Inc\Keybddr.h.
|Windows Embedded CE||Windows CE .NET 4.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|