MouFree: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This function frees the mouse. | This function frees the mouse. | ||
==Syntax== | ==Syntax== | ||
MouFree (MouHandle) | MouFree (MouHandle) | ||
==Parameters== | ==Parameters== | ||
;''MouHandle'' ([[HMOU]]) - input | |||
:Handle to the mouse device. | |||
== | ==Returns== | ||
;''ulResult'' ([[ULONG]]) - returns | |||
:A return value indicating success or an error code. NO_ERROR is the expected return value for a successful call. | |||
==Remarks== | ==Remarks== | ||
[[MOUCALLS.DLL]] Entry Point 12 | [[MOUCALLS.DLL]] Entry Point 12. | ||
When an application is finished using the mouse, it should always call MouFree to release the mouse handle and allow other applications to use the device. Failure to free the handle can prevent other programs from receiving mouse input. | |||
[[Category:Mou]] | [[Category:Mou]] |
Latest revision as of 23:28, 10 September 2025
This function frees the mouse.
Syntax
MouFree (MouHandle)
Parameters
- MouHandle (HMOU) - input
- Handle to the mouse device.
Returns
- ulResult (ULONG) - returns
- A return value indicating success or an error code. NO_ERROR is the expected return value for a successful call.
Remarks
MOUCALLS.DLL Entry Point 12.
When an application is finished using the mouse, it should always call MouFree to release the mouse handle and allow other applications to use the device. Failure to free the handle can prevent other programs from receiving mouse input.