GetKeyboardStatus

This function returns the status of the hardware keyboard.

At a Glance

Header file: Winuser.h
Windows CE versions: Japanese version 1.0 and later

Syntax

DWORD GetKeyboardStatus( VOID );

Return Values

KBDI_KEYBOARD_PRESENT indicates that hardware keyboard is present on the system. KBDI_KEYBOARD_ENABLED indicates that hardware keyboard is currently enabled. KBDI_KEYBOARD_ENTER_ESC indicates that the keyboard has an ENTER key and an ESCAPE key, or the equivalents. KBDI_KEYBOARD_ALPHA_NUM indicates that the keyboard has alphabetic and numeric keys.