Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:docs:fapi:mougetdevstatus [2021/10/06 14:21] – created prokushev | en:docs:fapi:mougetdevstatus [2021/11/04 13:14] (current) – prokushev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{page> | ||
| + | |||
| + | ====== MouGetDevStatus ====== | ||
| + | |||
| + | |||
| This call returns status flags for the installed mouse device driver. | This call returns status flags for the installed mouse device driver. | ||
| - | ==Syntax== | + | ===== Syntax ===== |
| + | <code c> | ||
| | | ||
| + | </ | ||
| - | ==Parameters== | + | ===== Parameters ===== |
| - | ; | + | |
| - | :The return value is a 2-byte set of bit flags. | + | |
| - | ''' | + | |
| - | 15-10 Reserved, set to zero. | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | ; | + | |
| - | ==Return Code== | + | * DeviceStatus |
| - | ;rc (USHORT) - return:Return code descriptions are: | + | |
| - | * 0 | + | |
| - | *385 ERROR_MOUSE_NO_DEVICE | + | |
| - | *466 ERROR_MOU_DETACHED | + | |
| - | *501 ERROR_MOUSE_NO_CONSOLE | + | |
| - | *505 ERROR_MOU_EXTENDED_SG | + | |
| - | ==Bindings== | + | The return value is a 2-byte set of bit flags. |
| - | ===C=== | + | |
| - | <PRE> | + | ^ Bit ^ Description ^ |
| + | | 15-10 | Reserved, set to zero. | | ||
| + | | 9 | Set if mouse data returned in mickeys, not pels. | | ||
| + | | 8 | Set if the drawing operations for pointer draw routine are disabled. | | ||
| + | | 7-4 | Reserved, set to zero. | | ||
| + | | 3 | Set if pointer draw routine disabled by unsupported mode. | | ||
| + | | 2 | Set if flush in progress. | | ||
| + | | 1 | Set if block read in progress. | | ||
| + | | 0 | Set if event queue busy with I/O. | | ||
| + | |||
| + | * DeviceHandle (HMOU) - input: | ||
| + | |||
| + | ===== Return Code ===== | ||
| + | |||
| + | rc (USHORT) - return: | ||
| + | |||
| + | * 0 | ||
| + | *385 ERROR_MOUSE_NO_DEVICE | ||
| + | *466 ERROR_MOU_DETACHED | ||
| + | *501 ERROR_MOUSE_NO_CONSOLE | ||
| + | *505 ERROR_MOU_EXTENDED_SG | ||
| + | |||
| + | ===== Bindings ===== | ||
| + | |||
| + | ====C==== | ||
| + | <code c> | ||
| #define INCL_MOU | #define INCL_MOU | ||
| Line 37: | Line 51: | ||
| USHORT | USHORT | ||
| - | </PRE> | + | </code> |
| - | ===MASM=== | + | ====MASM==== |
| - | <PRE> | + | <code asm> |
| EXTRN MouGetDevStatus: | EXTRN MouGetDevStatus: | ||
| INCL_MOU | INCL_MOU | ||
| Line 49: | Line 63: | ||
| Returns WORD | Returns WORD | ||
| - | </PRE> | + | </code> |
| + | |||
| + | {{page> | ||
| - | [[Category: | ||




