DestroyIcon The DestroyIcon function destroys an icon and frees any memory the icon occupied.
VB4-32,5,6
Declare Function DestroyIcon Lib "user32" Alias "DestroyIcon" (ByVal hIcon As Long) As Long |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- hIcon
Identifies the icon to be destroyed. The icon must not be in use. |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError. |
|