Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: More Macintosh Toolbox /
Chapter 1 - Resource Manager / Resource Manager Reference
Resource Manager Routines


Writing to Resource Forks

The Resource Manager provides three procedures that you can use to write resource information to disk. The UpdateResFile 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. The WriteResource procedure updates the resource data of just one resource on disk. The SetResPurge 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

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996