ioctl12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
MOU_GETMOUSTATUS (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSDEVIOCTL
 
USHORT DosDevIOCtl(pfStatus, 0L, 0x0062, 0x0007, hDevice)
PUSHORT pfStatus;    /* pointer to variable for status flags */
HFILE hDevice;       /* device handle                        */
 
The MOU_GETMOUSTATUS function retrieves the current status flags of the
mouse device driver.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
pfStatus   Points to the variable that receives the status flags. This
           variable can be a combination of the following values:
 
           Value                   Meaning
           ─────────────────────────────────────────────────────────────────
           MOUSE_QUEUEBUSY         Event queue is busy with I/O.
 
           MOUSE_BLOCKREAD         Block read is in progress.
 
           MOUSE_FLUSH             Flush is in progress.
 
           MOUSE_UNSUPPORTED_MODE  Pointer-draw routine is disabled (device
                                   in unsupported mode).
 
           MOUSE_DISABLED          Interrupt-level pointer-draw routine is
                                   not called.
 
           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_SETMOUSTATUS
 
                                      ♦