Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:docs:fapi:mouclose [2021/10/07 13:44] – created prokushev | en:docs:fapi:mouclose [2021/11/04 13:12] (current) – prokushev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{page> | ||
| + | |||
| + | ====== MouClose ====== | ||
| + | |||
| MouClose closes the mouse device for the current session and removes the mouse device driver handle from the list of valid open mouse device handles. | MouClose closes the mouse device for the current session and removes the mouse device driver handle from the list of valid open mouse device handles. | ||
| - | ==Syntax== | + | ===== Syntax ===== | 
| + | <code c> | ||
|   |   | ||
| + | </ | ||
| - | ==Parameters== | + | ===== Parameters ===== | 
| - | ; | + | |
| - | ==Return Code== | + |   * DeviceHandle  | 
| - | ;rc (USHORT) - return:Return code descriptions are: | + | |
| - | * 0 - NO_ERROR | + | |
| - | * 385 - ERROR_MOUSE_NO_DEVICE | + | |
| - | * 466 - ERROR_MOU_DETACHED | + | |
| - | * 501 - ERROR_MOUSE_NO_CONSOLE | + | |
| - | * 505 - ERROR_MOU_EXTENDED_SG | + | |
| - | ==Bindings== | + | ===== Return Code ===== | 
| - | === C === | + | |
| - | <PRE> | + | rc (USHORT) - return: | 
| + | |||
| + | * 0 - NO_ERROR | ||
| + | * 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 24: | Line 34: | ||
| HMOU    DeviceHandle;  | HMOU    DeviceHandle;  | ||
| USHORT  | USHORT  | ||
| - | </PRE> | + | </code> | 
| - | ===MASM=== | + | ====MASM==== | 
| - | <PRE> | + | <code asm> | 
| EXTRN  MouClose: | EXTRN  MouClose: | ||
| INCL_MOU  | INCL_MOU  | ||
| Line 35: | Line 45: | ||
| Returns WORD | Returns WORD | ||
| - | </PRE> | + | </code> | 
| - | [[Category:Mou]] | + | {{page> | 




