Поделиться через


Resources Functions (Compact 2013)

3/28/2014

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

Reference

Resources Reference