Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This function destroys an icon and frees any memory that the icon occupied.
Syntax
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 Value
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
| Header | gwebypasscoredllthunk.hpp |
| Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
GWES OS Functions
CreateIconIndirect_I
DestroyIcon
ExtractIconEx
LoadIconW_I
LoadImage