Export (0) Print
Expand All

GetKeyboardStatus (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This function returns the status of the hardware keyboard.

DWORD GetKeyboardStatus(VOID); 

Parameters

None.

Return Values

This function returns a bit mask indicating whether or not a keyboard is present and what its capabilities are. For more information, see Keyboard Driver Registry Settings. The following table shows the bit mask.

IdentifierValueDescription
KBDI_KEYBOARD_PRESENT0x0001Indicates whether or not the system has keyboard hardware.
KBDI_KEYBOARD_ENABLED0x0002Indicates whether or not the keyboard hardware is enabled.

This bit is assumed to be set but can be modified with EnableHardwareKeyboard.

KBDI_KEYBOARD_ENTER_ESC0x0004Indicates whether or not the keyboard hardware has ENTER and ESC keys.
KBDI_KEYBOARD_ALPHA_NUM0x0008Indicates whether or not the keyboard hardware has alphanumeric keys.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.
Link Library: Kbdui.lib.

See Also

Keyboard Driver Registry Settings | EnableHardwareKeyboard | Keyboard Functions


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft