Function Reference

_WinAPI_LoadIcon

Loads the specified icon resource from the executable (.exe) file associated with an application instance

#include <WinAPIIcons.au3>
_WinAPI_LoadIcon ( $hInstance, $sName )

Parameters

$hInstance

A handle to an instance of the module whose executable file contains the icon to be loaded.

$sName

The name of the icon resource to be loaded. Alternatively, if $hInstance is 0, it can be
one of the following predefined values.
$IDI_APPLICATION
$IDI_HAND
$IDI_QUESTION
$IDI_EXCLAMATION
$IDI_ASTERISK
$IDI_WINLOGO
$IDI_SHIELD
$IDI_ERROR
$IDI_INFORMATION
$IDI_WARNING