Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

KeybdGetDeviceInfo

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function returns information about the keyboard and the keyboard driver.


BOOL KeybdGetDeviceInfo(
  INT iIndex,
  LPVOID lpOutput 
);

iIndex

[in] Identifier of the information to retrieve. The following table shows the identifiers and their descriptions.

Identifier Description

KBDI_VKEY_TO_UNICODE_INFO_ID

Retrieves Unicode conversion information.

KBDI_AUTOREPEAT_INFO_ID

Retrieves keyboard auto-repeat information.

KBDI_AUTOREPEAT_SELECTIONS_INFO_ID

Retrieves keyboard auto-repeat selections information.

KBDI_KEYBOARD_STATUS_ID

Retrieves a keyboard status identifier.

lpOutput

[out] Pointer to the output buffer.

TRUE indicates success. FALSE indicates failure. To obtain extended error information, call the GetLastError function.

This function is part of GWES and directly calls the driver's PFN_KEYBD_DRIVER_GET_INFO function if iIndex is not KBDI_KEYBOARD_STATUS_ID. If iIndex is KBDI_KEYBOARD_STATUS_ID, this routine fills lpOutput with a DWORD combining KBDI_KEYBOARD_PRESENT, KBDI_KEYBOARD_ENABLED, KBDI_KEYBOARD_ENTER_ESC, and KBDI_KEYBOARD_ALPHA_NUM. The KBDI_KEYBOARD_ENABLED reflects the current keyboard status. The other bits are set in the registry through the HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD\Status key.

Headerpwinuser.h
Librarycoredll.lib
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2015 Microsoft