Jump to content

MouFree: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


==Syntax==
==Syntax==
  MouFree (MouHandle);
  MouFree (MouHandle)


==Parameters==
==Parameters==
;''MouHandle'' ([[HMOU]]) - input
:Handle to the mouse device.


==Return Code==
==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.