DestroyCursor

3.0

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

The DestroyCursor function destroys a cursor that was previously created by the CreateCursor or LoadCursor function and frees any memory that the cursor occupied.

Parameters

hcur

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

Return Value

The return value is nonzero if the function is successful. Otherwise, it is zero.

See Also

CreateCursor, CreateIcon, DestroyIcon, LoadCursor