Creates an array of handles to large or small icons extracted from a file
#include <WinAPIIcons.au3>
_WinAPI_ExtractIconEx ( $sFilePath, $iIndex, $paLarge, $paSmall, $iIcons )
$sFilePath | Name of an executable file, DLL, or icon file from which icons will be extracted |
$iIndex | Specifies the 0-based index of the first icon to extract |
$paLarge | Pointer to an array of icon handles that receives handles to the large icons extracted from the file. If this parameter is 0, no large icons are extracted from the file. |
$paSmall | Pointer to an array of icon handles that receives handles to the small icons extracted from the file. If this parameter is 0, no small icons are extracted from the file. |
$iIcons | Specifies the number of icons to extract from the file |
Search ExtractIconEx in MSDN Library.
#include <MsgBoxConstants.au3>
#include <WinAPIIcons.au3>
MsgBox($MB_SYSTEMMODAL, "ExtractIconEx", "# of Icons in file shell32.dll: " & _WinAPI_ExtractIconEx("shell32.dll", -1, 0, 0, 0))