Keyboard status data structure.
typedef struct _KBDINFO { USHORT cb; /* Length, in bytes, of this data structure. */ USHORT fsMask; /* State mask. */ USHORT chTurnAround; /* Turnaround character. */ USHORT fsInterim; /* Interim character state and NLS shift state. */ USHORT fsState; /* Current shift state. */ } KBDINFO; typedef KBDINFO * PKBDINFO ;