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