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


Modifying Resources

The Resource Manager provides two routines that change the resChanged attribute of a specified resource. The ChangedResource procedure allows you to indicate that a resource in memory has been changed, and the AddResource procedure allows you to add a new resource to a resource map.

If the resChanged attribute for a resource has been set and your application calls UpdateResFile or quits, the Resource Manager writes both the entire resource map and the resource data for that resource to the resource fork of the corresponding file on disk. If the resChanged attribute has been set and your application calls WriteResource, the Resource Manager writes only the resource's data to disk.


Subtopics
ChangedResource
AddResource

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996