【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.25.8 DestroyIcon
Contents
Description
This function destroys an icon and frees any memory the icon occupied.
Syntax
BOOL DestroyIcon( HICON hIcon )
Parameters
- hIcon
- [input]Handle to the icon to be destroyed. The icon must not be in use.
Return
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
Examples
Remark
This function may be called on the icon handle returned from LoadImage or LoadIcon. The icon handle is invalid after calling DestroyIcon.
See Also
Header to Include
origin.h