Function Reference


_WinAPI_CopyCursor

Creates a duplicate of a specified cursor

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

Parameters

$hCursor Handle to the cursor to be duplicated.

Return Value

Success: Handle to the new cursor that was created.
Failure: 0, call _WinAPI_GetLastError() to get extended error information.

Remarks

When you are finished using the cursor, destroy it using the _WinAPI_DestroyCursor() function.

Related

_WinAPI_DestroyCursor

See Also

Search CopyIcon in MSDN Library.