Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996

Get information on Apple products.
Visit the Apple Store online or at retail locations.

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice