# Icons user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPIIcons.au3>.

User Defined Function | Description
--- | ---
_WinAPI_AddIconTransparency | Adds a transparency to the specified 32 bits-per-pixel icon
_WinAPI_CopyIcon | Copies the specified icon from another module
_WinAPI_Create32BitHICON | Converts an icon to a 32 bits-per-pixel format and copies to the new icon
_WinAPI_CreateEmptyIcon | Creates a fully transparent icon with the specified width, height, and color depth
_WinAPI_CreateIcon | Creates an icon that has the specified size, colors, and bit patterns
_WinAPI_CreateIconFromResourceEx | Creates an icon or cursor from resource bits describing the icon
_WinAPI_CreateIconIndirect | Creates an icon or cursor that has the specified size, colors, and bit patterns
_WinAPI_DestroyIcon | Destroys an icon and frees any memory the icon occupied
_WinAPI_ExtractIcon | Extracts an icon from the specified executable file, DLL, or icon file
_WinAPI_ExtractIconEx | Creates an array of handles to large or small icons extracted from a file
_WinAPI_FileIconInit | Initializes or reinitializes the system image list
_WinAPI_GetIconDimension | Retrieves a dimension of the specified icon
_WinAPI_GetIconInfo | Retrieves information about the specified icon or cursor
_WinAPI_GetIconInfoEx | Retrieves information about the specified icon or cursor
_WinAPI_LoadIcon | Loads the specified icon resource from the executable (.exe) file associated with an application instance
_WinAPI_LoadIconMetric | Loads a specified icon resource with a client-specified system metric
_WinAPI_LoadIconWithScaleDown | Loads an icon and scales down a larger image instead of scaling up a smaller image
_WinAPI_LoadShell32Icon | Extracts an icon from the shell32.dll file
_WinAPI_LookupIconIdFromDirectoryEx | Searches through icon or cursor data for the icon or cursor that best fits the current display device
_WinAPI_MirrorIcon | Reverses (mirrors) icons so that they are displayed correctly on a mirrored device context