BOOL DestroyIcon(hicon) | |||||
HICON hicon; | /* handle of icon to destroy | */ |
The DestroyIcon function destroys an icon that was created by the CreateIcon or LoadIcon function and frees any memory that the icon occupied.
hicon
Identifies the icon to be destroyed.
The return value is nonzero if the function is successful. Otherwise, it is zero.