A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/windows/desktop/menurc/icons below:

Icons (Menus and Other Resources) - Win32 apps

Icons (Menus and Other Resources)

In this article

An icon is a picture that consists of a bitmap image combined with a mask to create transparent areas in the picture. The term icon can refer to either of the following:

In This Section Icon Functions Name Description CopyIcon Copies the specified icon from another module to the current module.
CreateIcon Creates an icon that has the specified size, colors, and bit patterns.
CreateIconFromResource Creates an icon or cursor from resource bits describing the icon.
CreateIconFromResourceEx Creates an icon or cursor from resource bits describing the icon.
CreateIconIndirect Creates an icon or cursor from an ICONINFO structure.
DestroyIcon Destroys an icon and frees any memory the icon occupied.
DrawIcon Draws an icon or cursor into the specified device context.
DrawIconEx Draws an icon or cursor into the specified device context, performing the specified raster operations, and stretching or compressing the icon or cursor as specified.
DuplicateIcon Creates a duplicate of a specified icon.
ExtractAssociatedIcon Retrieves a handle to an indexed icon found in a file or an icon found in an associated executable file.
ExtractIcon Retrieves a handle to an icon from the specified executable file,DLL, or icon file.
ExtractIconEx Creates an array of handles to large or small icons extracted from the specified executable file, DLL, or icon file.
GetIconInfo Retrieves information about the specified icon or cursor.
GetIconInfoEx Retrieves information about the specified icon or cursor. GetIconInfoEx extends GetIconInfo by using the newer ICONINFOEX structure.
LoadIcon Loads the specified icon resource from the executable (.exe) file associated with an application instance.
LookupIconIdFromDirectory Searches through icon or cursor data for the icon or cursor that best fits the current display device.
LookupIconIdFromDirectoryEx Searches through icon or cursor data for the icon or cursor that best fits the current display device.
PrivateExtractIcons Creates an array of handles to icons that are extracted from a specified file.
Icon Structures Name Description ICONINFO Contains information about an icon or a cursor.
ICONINFOEX Contains information about an icon or a cursor. Extends ICONINFO. Used by GetIconInfoEx.
ICONMETRICS Contains the scalable metrics associated with icons. This structure is used with the SystemParametersInfo function when the SPI_GETICONMETRICS or SPI_SETICONMETRICS action is specified.

Additional resources

In this article

Was this page helpful?

Additional resources


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4