Function Reference


Retrieves the index of the overlay icon in the system image list

#include <WinAPIShellEx.au3>
_WinAPI_ShellGetIconOverlayIndex ( $sIcon, $iIndex )


$sIcon The fully qualified path of the file that contains the icon.
$iIndex The index of the icon. To request a standard overlay icon, set the path to an empty string,
and index to one of the following values.

Windows 7 or later

Return Value

Success: The index of the overlay icon.
Failure: (-1).


To use this function, you must call _WinAPI_FileIconInit() at application launch.



See Also

Search SHGetIconOverlayIndex in MSDN Library.