Resource Mgr
ResError Find if an error occurred in a resource operation UseResFile Make specified resource file the 'current file' CurResFile Get reference number of current resource file filename
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 CloseResFile Close and update resource file; free memory used HomeResFile Given a resource handle, return a file ref number Resource Type
CountTypes Get total number of resource types in open files Count1Types Get total number of resource types 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 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
GetResInfo Given a handle, obtain resource ID, type, and name GetResAttrs Get resource attributes ( purgeable, locked, etc.) SetResAttrs Set resource attributes ( purgeable, locked, etc.) 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 DetachResource Make rsrc into Handle; prevent discard when file closed UniqueID Get unique resource ID (before adding a resource) RsrcMapEntry Obtain offset of resource map for a handle's entry Modify Resource