Extracts an icon from the specified executable file, DLL, or icon file.
#Include <WinAPIEx.au3>
_WinAPI_ExtractIcon ( $sIcon, $iIndex [, $fSmall] )
| $sIcon | The name of an executable file, DLL, or icon file from which icons will be extracted. |
| $iIndex | The zero-based index of the icon to extract. If this value is a negative number, the function extracts the icon whose resource identifier is equal to the absolute value of $iIndex. |
| $fSmall | [可选参数] Specifies whether extract a small icon, valid values: TRUE - Extract a small icon. FALSE - Extract a large icon. (Default) |
| Success | Handle to the extracted icon. |
| 失败: | 返回 0 并设置 @error 标志为非 0 值. |
在MSDN中搜索