DestroyIcon_I (Windows CE 5.0)
This function destroys an icon and frees any memory that the icon occupied.
BOOL WINAPI DestroyIcon_I(HICON hicon);
Parameters
- hicon
[in] Handle to the icon that you want to destroy. The icon must not be in use.
Return Values
A nonzero value indicates success. Zero indicates failure. To get extended error information, call GetLastError.
Remarks
You can call the DestroyIcon_I function on the icon handle returned by the CreateIconIndirect_I, ExtractIconEx, LoadImage, or LoadIconW_I function. The icon handle is invalid after you call DestroyIcon_I.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Gwebypasscoredllthunk.hpp.
See Also
CreateIconIndirect_I | DestroyIcon | ExtractIconEx | LoadIconW_I | LoadImage
Send Feedback on this topic to the authors