KbdPeek
KbdPeek
typedef struct _KBDKEYINFO { /* kbci */
UCHAR chChar; /* ASCII character code */
UCHAR chScan; /* Scan Code */
UCHAR fbStatus; /* State of the character */
UCHAR bNlsShift; /* Reserved (set to zero) */
USHORT fsState; /* State of the shift keys */
ULONG time; /* Time stamp of keystroke (ms since ipl) */
}KBDKEYINFO;
#define INCL_KBD
USHORT rc = KbdPeek(CharData, KbdHandle);
PKBDKEYINFO CharData; /* Buffer for data */
HKBD KbdHandle; /* Keyboard handle */
USHORT rc; /* return code */
[Back: KbdOpen]
[Next: KbdRegister]