Jump to content

MouFree

From EDM2
Revision as of 23:28, 10 September 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.