Resource Mgr
Initialize / Error Info
InitResources Initialize Resource Manager (system use only)
RsrcZoneInit Reset resource map; clean up resource memory
ResError Find if an error occurred in a resource operation
Resource File
Resource Attributes Resource attributes data structure
Resource File Attributes Resource file attribute data structure
UseResFile Make specified resource file the 'current file'
CurResFile Get reference number of current resource file
CreateResFile Create a new resource file or resource fork given
filename
HCreateResFile Create a new resource file or resource fork given
dirID
OpenResFile Open resource file by name; get reference number
HOpenResFile Open resource file by vrefNum, ID; get reference
number
OpenRFPerm Open resource file, specifying permission level
UpdateResFile Write changed resource map and data to disk
CloseResFile Close and update resource file; free memory used
HomeResFile Given a resource handle, return a file ref number
SetResFileAttrs Set resource file attributes
GetResFileAttrs Obtain resource file attributes
FSpCreateResFile Create resource file using FSSpec
FSpOpenResFile Open resource file specified by an FSSpec
Resource Type
CountTypes Get total number of resource types in open files
Count1Types Get total number of resource types in current file
CountResources Find how many of a selected resource type exist
Count1Resources Get count of resources of selected type in current file
GetIndType Get a ResType of a resource, given its index
Get1IndType Get ResType of resource in current file, given its index
Get / Dispose
GetResource Read a resource into memory; get its handle
Get1Resource Read resource from current file; get its handle
GetNamedResource Read a named resource; get its handle
Get1NamedResource Read a named resource from current file; get its handle
GetIndResource Get a handle to a resource, given its index
Get1IndResource Get a handle to a resource, given its 1-deep index
ReleaseResource Discard a resource data and its handle
SetResLoad Set state of automatic resource loading
LoadResource Make sure that a purgeable resource is in memory
Resource Information
Resource File Format Description of the format of a resource file
Owned Resources How owned resources are used in DA's and drivers
Shared Files and Folders When to set shared bit of an file
GetResInfo Given a handle, obtain resource ID, type, and name
SetResInfo Set the name and ID of a resource
GetResAttrs Get resource attributes ( purgeable, locked, etc.)
SetResAttrs Set resource attributes ( purgeable, locked, etc.)
SizeResource Obtain the size, in bytes, of a resource
MaxSizeRsrc Obtain resource size without reading from disk
SetResPurge Force resource changes to be written before purge
Modify Resource
AddResource Make arbitrary data in memory into a resource
ChangedResource Tag resource for update to disk
WriteResource Write data of one resource to disk
RmveResource Discard a resource from the current file
DetachResource Make rsrc into Handle; prevent discard when file closed
Unique1ID 1-deep get unique resource ID
UniqueID Get unique resource ID (before adding a resource)
RsrcMapEntry Obtain offset of resource map for a handle's entry
Modify Resource
ReadPartialResource Get a handle to to part of a resource
WritePartialResource Write part of a resource to disk
SetResourceSize Set size of a resource (without writing data)