Important: The information in this document is obsolete and should not be used for new development.
Writing to Resource Forks
The Resource Manager provides three procedures that you can use to write resource information to disk. TheUpdateResFile
procedure updates the resource map and resource data of a resource fork on disk so that it matches the corresponding resource map and resource data in memory. TheWriteResource
procedure updates the resource data of just one resource on disk. TheSetResPurge
procedure sets up
the Resource Manager's own purge-warning procedure so that the Memory Manager checks with the Resource Manager before purging a purgeable resource.
Subtopics
- UpdateResFile
- WriteResource
- SetResPurge