DestroyCursor

  BOOL DestroyCursor(hcur)    
  HCURSOR hcur; /* handle of cursor to destroy */

This function destroys a cursor that was 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.

Parameters

hcur

Identifies the cursor to be destroyed. The cursor must not be in current use.

Return Value

The return value is TRUE if the function was successful. Otherwise, it is FALSE.

See Also

CreateCursor