msos2.hlp (Table of Contents; Topic list)
HOTKEY (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSDEVIOCTL
 
typedef struct _HOTKEY {    /* htky */
    USHORT fsHotKey;
    UCHAR  uchScancodeMake;
    UCHAR  uchScancodeBreak;
    USHORT idHotKey;
} HOTKEY;
 
The HOTKEY structure contains information for the session-manager hot key.
 
Field             Description
────────────────────────────────────────────────────────────────────────────
 
fsHotKey          Specifies the setting for the session-manager hot key. It
                  can be a combination of the following values:
 
                  Value         Meaning
                  ──────────────────────────────────────────────────────────
                  RIGHTSHIFT    Right SHIFT key down.
 
                  LEFTSHIFT     Left SHIFT key down.
 
                  LEFTCONTROL   Left CONTROL key down.
 
                  LEFTALT       Left ALT key down.
 
                  RIGHTCONTROL  Right CONTROL key down.
 
                  RIGHTALT      Right ALT key down.
 
                  SCROLLLOCK    SCROLL LOCK key down.
 
                  NUMLOCK       NUMLOCK key down.
 
                  CAPSLOCK      CAPSLOCK key down.
 
                  SYSREQ        SYSREQ key down.
 
uchScancodeMake   Specifies the scan code of the hot-key "make." If this
                  field is given, the system detects the hot key when the
                  user presses the key that generates this scan code.
 
uchScancodeBreak  Specifies the scan code of the hot-key "break." If this
                  field is given, the system detects the hot key when the
                  user releases the key that generates this scan code.
 
idHotKey          Specifies the session-manager hot-key identifier. It must
                  be a value from 0 through 15.
 
Comments
 
The scancodeMake and scancodeBreak fields are mutually exclusive; only one
may be specified.
 
See Also
 
KBD_GETSESMGRHOTKEY, KBD_SETSESMGRHOTKEY