DestroyCursor

Version 3.0

Syntax

BOOL DestroyCursor(hCursor)

This function destroys a cursor that was previously created by the CreateCursor function and frees any memory that the cursor occupied. It should not be used to destroy any cursor that was not created with the CreateCursor function.

Parameter Type/Description  
hCursor HCURSOR Identifies the cursor to be destroyed. The cursor must not be in current use.  

Return Value

The return value is nonzero if the function was successful. It is zero if the function failed.