The Character data structure of the API function KbdCharIn.
typedef struct _KBDKEYINFO { UCHAR chChar; /* ASCII Character code. */ UCHAR chScan; /* Code received for the keyboard. */ UCHAR fbStatus; /* State of the keystroke event flag. */ UCHAR bNlsShift; /* NLS shift status. Reserved, must be 0. */ USHORT fsState; /* Shift key status flag. */ ULONG time; /* Time stamp in milliseconds. */ } KBDKEYINFO; typedef KBDKEYINFO * PKBDKEYINFO ;