Destroys an icon and frees any memory the icon occupied
#include <WinAPIIcons.au3>
_WinAPI_DestroyIcon ( $hIcon )
$hIcon | Handle to the icon to be destroyed. The icon must not be in use. |
Success: | True |
Failure: | False, call _WinAPI_GetLastError() to get extended error information |
_WinAPI_CopyIcon, _WinAPI_LoadShell32Icon
Search DestroyIcon in MSDN Library.