Function Reference


_WinAPI_DestroyIcon

Destroys an icon and frees any memory the icon occupied

#include <WinAPIIcons.au3>
_WinAPI_DestroyIcon ( $hIcon )

Parameters

$hIcon Handle to the icon to be destroyed. The icon must not be in use.

Return Value

Success: True
Failure: False, call _WinAPI_GetLastError() to get extended error information

Related

_WinAPI_CopyIcon, _WinAPI_LoadShell32Icon

See Also

Search DestroyIcon in MSDN Library.