SHIFTSTATE

Shift State data structure.

Type
USHORT fsState BYTE   fNLS

C Declaration Method
typedef struct

Fields
High Byte   Has the following settings: Bit 15      SysReq key down Bit 14      Caps Lock key down Bit 13      NumLock key down Bit 12      ScrollLock key down Bit 11      Right Alt key down Bit 10      Right Ctrl key down Bit 9       Left Alt key down Bit 8       Left Ctrl key down
 * fsState:Shift state flag.

Low Byte    Has the following: Bit 7       Insert on Bit 6        Caps Lock on Bit 5        NumLock on Bit 4        ScrollLock on Bit 3        Either Alt key down Bit 2       Either Ctrl key down Bit 1       Left Shift key down Bit 0       Right Shift key down
 * fNLS:NLS shift status flag.