Jump to content

MouFree: Difference between revisions

From EDM2
No edit summary
No edit summary
 
Line 9: Line 9:


==Returns==
==Returns==
;''ulResult'' [[(ULONG]]) - returns
;''ulResult'' ([[ULONG]]) - returns
:A return value indicating success or an error code. NO_ERROR is the expected return value for a successful call.
:A return value indicating success or an error code. NO_ERROR is the expected return value for a successful call.



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.