Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows the resources functions, with a description of the purpose of each.

Programming element Description

CreateIconIndirect

This function creates an icon or cursor from an ICONINFO structure.

DestroyIcon

This function destroys an icon and frees any memory the icon occupied.

DrawIconEx

This function draws an icon in the specified device context, performing the raster operations as specified.

ExtractIconEx

This function retrieves icon handles from the specified executable file or dynamic-link library (DLL).

FindResource

This function determines the location of a resource with the specified type and name in the specified module.

GetIconInfo

This function retrieves information about the specified icon or cursor.

LoadIcon

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

LoadImage

This function loads an icon, cursor, or bitmap.

LoadResource

This function returns a handle to a specified resource located in a dynamic-link library (DLL) or executable.

LockResource

This function locks the specified resource in memory.

SizeofResource

This function returns the size, in bytes, of the specified resource.

See Also