Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
Disposing of Resources
The Resource Manager provides three procedures for disposing of resources. TheReleaseResourceprocedure releases the memory associated with a resource,
setting the handle's master pointer toNIL, thus making your application's handle to
the resource invalid. TheDetachResourceprocedure sets a resource's handle in the resource map toNILbut keeps the resource data in memory. TheRemoveResourceprocedure removes the resource's entry from the resource map in memory; the
Resource Manager removes the resource data from memory (and from the file's resource fork) when it updates the file's resource fork.
Subtopics
- ReleaseResource
- DetachResource
- RemoveResource
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |