Function Reference


_WinAPI_DestroyCursor

Destroys a cursor and frees any memory the cursor occupied

#include <WinAPIRes.au3>
_WinAPI_DestroyCursor ( $hCursor )

Parameters

$hCursor Handle to the cursor to be destroyed. The cursor must not be in use.

Return Value

Success: True.
Failure: False, call _WinAPI_GetLastError() to get extended error information

Remarks

This function destroys a nonshared cursor. Do not use this function to destroy a shared cursor.
A shared cursor is valid as long as the module from which it was loaded remains in memory.

See Also

Search DestroyCursor in MSDN Library.