ioctl12.hlp (Topic list)
MOU_SETMOUSTATUS (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSDEVIOCTL
 
USHORT DosDevIOCtl(0L, pfStatus, 0x005C, 0x0007, hDevice)
PUSHORT pfStatus;    /* pointer to variable with status */
HFILE hDevice;       /* device handle                   */
 
The MOU_SETMOUSTATUS function sets a subset of the current mouse
device-driver status flags.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
pfStatus   Points to the variable that contains the status flags for the
           pointing device. If the variable contains MOUSE_DISABLED, the
           interrupt-level pointer-draw routine is not called. If the
           variable contains MOUSE_MICKEYS, mouse data is returned in
           mickeys (not pels).
 
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_GETMOUSTATUS
 
                                      ♦