Modifying ResourcesThe Resource Manager provides two routines that change the
resChangedattribute of a specified resource. The
ChangedResourceprocedure allows you to indicate that a resource in memory has been changed, and the
AddResourceprocedure allows you to add a new resource to a resource map.
resChangedattribute for a resource has been set and your application calls
UpdateResFileor 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
resChangedattribute has been set and your application calls
WriteResource, the Resource Manager writes only the resource's data to disk.