ioctl12.hlp (Topic list)
MOU_GETHOTKEYBUTTON (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSDEVIOCTL
 
USHORT DosDevIOCtl(pfHotKey, 0L, 0x0069, 0x0007, hDevice)
PUSHORT pfHotKey;    /* pointer to variable for hot key */
HFILE hDevice;       /* device handle                   */
 
The MOU_GETHOTKEYBUTTON function retrieves the mouse-button equivalent for
the system hot key.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
pfHotKey   Points to the variable that receives the hot key. This variable
           can be one or more of the following values:
 
           Value          Meaning
           ─────────────────────────────────────────────────────────────────
           MHK_NO_HOTKEY  No system hot key used.
 
           MHK_BUTTON1    Button 1 is system hot key.
 
           MHK_BUTTON2    Button 2 is system hot key.
 
           MHK_BUTTON3    Button 3 is system hot key.
 
           If 0x0001 is specified, no system hot-key support is provided. If
           multiple values are given (excluding 0x0001) the system hot key
           requires that the indicated buttons be pressed simultaneously.
 
hDevice    Identifies the pointing device that receives the device-control
           function. The handle must have been created previously by using
           the DosOpen function.
 
Return Value
 
The return value is zero if the function is successful or an error value if
an error occurs.
 
See Also
 
DosOpen, MOU_SETHOTKEYBUTTON
 
                                      ♦