3.6 Resource-Management Functions

Resource-management functions find and load application resources from a Windows executable file. A resource can be a cursor, icon, bitmap, string, or font. The following list briefly describes each resource-management function:

Function Description  
AccessResource Opens the specified resource.  
AllocResource Allocates uninitialized memory for a resource.  
FindResource Determines the location of a resource.  
FreeResource Removes a loaded resource from memory.  
LoadAccelerators Loads an accelerator table.  
LoadBitmap Loads a bitmap resource.  
LoadCursor Loads a cursor resource.  
LoadIcon Loads an icon resource.  
LoadMenu Loads a menu resource.  
LoadResource Loads a resource.  
Function Description  
LoadString Loads a string resource.  
LockResource Retrieves the absolute memory address of a resource.  
SetResourceHandler Sets up a function to load resources.  
SizeofResource Supplies the size (in bytes) of a resource.  
UnlockResource Unlocks a resource.