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.
hcur
Identifies the cursor to be destroyed. The cursor must not be in current use.
The return value is nonzero if the function is successful. Otherwise, it is zero.