This request is used by the Session Manager to set a list of keyboard hot keys, searched for by the physical keyboard device driver. Up to 16 hot keys can be defined by the Session Manager for handling by the physical keyboard device driver. The new hot key is global (that is, it applies to all sessions). A hot key can be redefined by calling this function with the same Hot Key ID.

The combination of shift flags in the first WORD and scan codes in the second allows the Session Manager to set hot key combinations such as Alt+Esc. The hot key is triggered on detection of the scan code for the hot key break.

Note: If a DOS application has claimed hardware INT 9 or INT 50, the hot key is triggered on detection of the break scan code for the required shift key.