BOOL DestroyIcon(hicon) | |||||
HICON hicon; | /* handle of icon to destroy | */ |
This function destroys an icon that was created by the CreateIcon function and frees any memory that the icon occupied. It should not be used to destroy any icon that was not created with the CreateIcon function.
hicon
Identifies the icon to be destroyed. The icon must not be in current use.
The return value is TRUE if the function was successful. Otherwise, it is FALSE.
CreateIcon