Manager: Resource Manager



Carbon supports the Resource Manager, with the following exceptions, which primarily involve ROM resource functions and functions that access the resource map:



Note also that you should not attempt to store resources in the system heap, since you will not have the same access to the system heap as you do in previous versions of the Mac OS.

Supported  AddResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Unsupported  addresource

Use AddResource instead. Not available in CarbonLib. Not available in Mac OS X.

Supported  ChangedResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  CloseResFile

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  Count1Resources

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  Count1Types

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  CountResources

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  CountTypes

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Unsupported  CreateResFile

This function is no longer supported. Instead, you may use any of the functions FSCreateResourceFile, FSpCreateResFile, and HCreateResFile instead. Not available in CarbonLib. Not available in Mac OS X.

Unsupported  createresfile

Use FSCreateResFile, FSCreateResourceFile, or FSpCreateResFile instead. Not available in CarbonLib. Not available in Mac OS X.

Supported  CurResFile

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  DetachResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  DetachResourceFile

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  DisposeResErrUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  FSCreateResFile

Available in CarbonLib 1.1 and later when running Mac OS 9.1 or later. Available in Mac OS X 10.0 and later.

Supported  FSCreateResourceFile

Available in CarbonLib 1.3 and later. Available in Mac OS X 10.0 and later.

Supported  FSOpenResFile

Available in CarbonLib 1.1 and later when running Mac OS 9.1 or later. Available in Mac OS X 10.0 and later.

Supported  FSOpenResourceFile

Available in CarbonLib 1.3 and later. Available in Mac OS X 10.0 and later.

Supported  FSpCreateResFile

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  FSpOpenOrphanResFile

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  FSpOpenResFile

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  FSpResourceFileAlreadyOpen

Available in CarbonLib 1.0 and later when running Mac OS 9 or later. Available in Mac OS X 10.0 and later.

Supported  FSResourceFileAlreadyOpen

Available in CarbonLib 1.1 and later when running Mac OS 9.1 or later. Available in Mac OS X 10.0 and later.

Supported  Get1IndResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  Get1IndType

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  Get1NamedResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Unsupported  get1namedresource

Use Get1NamedResource instead. Not available in CarbonLib. Not available in Mac OS X.

Supported  Get1Resource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  GetIndResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  GetIndType

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  GetMaxResourceSize

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  GetNamedResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Unsupported  getnamedresource

Use GetNamedResource instead. Not available in CarbonLib. Not available in Mac OS X.

Supported  GetNextFOND

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  GetNextResourceFile

Available in CarbonLib 1.0.2 and later. Available in Mac OS X 10.0 and later.

Supported  GetResAttrs

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  GetResFileAttrs

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  GetResInfo

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Unsupported  getresinfo

Use GetResInfo instead. Not available in CarbonLib. Not available in Mac OS X.

Supported  GetResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  GetResourceSizeOnDisk

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  GetTopResourceFile

Available in CarbonLib 1.0.2 and later. Available in Mac OS X 10.0 and later.

Supported  HCreateResFile

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  HomeResFile

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  HOpenResFile

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Unsupported  InitResources

This function is no longer needed; initialization is done by the system. Not available in CarbonLib. Not available in Mac OS X.

Supported  InsertResourceFile

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  InvokeResErrUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  LoadResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  NewResErrUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Unsupported  OpenResFile

Carbon does not support MFS calls. Use HFS+ calls instead. Not available in CarbonLib. Not available in Mac OS X.

Unsupported  openresfile

Use FSpOpenResFile, FSOpenResFile, or FSOpenResourceFile instead. Not available in CarbonLib. Not available in Mac OS X.

Supported  OpenRFPerm

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Unsupported  openrfperm

Use OpenRFPerm instead. Not available in CarbonLib. Not available in Mac OS X.

Supported  ReadPartialResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Unsupported  RegisterResourceEndianFilter

Supported  ReleaseResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  RemoveResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  ResError

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Unsupported  RGetResource

There will be no ROM in Mac OS X, so this ROM-related function will not be supported. Not available in CarbonLib. Not available in Mac OS X.

Unsupported  RsrcMapEntry

This function provides an interface based on the map handle format. You cannot use the map handle to walk the resource chain. To walk the resource chain, use the functions GetTopResource and GetNextResource. To manipulate the resource chain, use the functions InsertResourceFile and DetachResourceFile. Not available in CarbonLib. Not available in Mac OS X.

Unsupported  RsrcZoneInit

This function is not needed as initialization is done by the system. Not available in CarbonLib. Not available in Mac OS X.

Supported  SetResAttrs

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  SetResFileAttrs

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  SetResInfo

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Unsupported  setresinfo

Use SetResInfo instead. Not available in CarbonLib. Not available in Mac OS X.

Supported  SetResLoad

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  SetResourceSize

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  SetResPurge

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Unsupported  SortResourceFile

Not available in CarbonLib. Not available in Mac OS X.

Unsupported  TempInsertROMMap

There will be no ROM in Mac OS X, so this ROM-related function will not be supported. Not available in CarbonLib. Not available in Mac OS X.

Supported  Unique1ID

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  UniqueID

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  UpdateResFile

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  UseResFile

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  WritePartialResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

Supported  WriteResource

Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.

[Table of Contents] [Manager Index] [Function Index]

Generated on: 12/12/2001. Copyright © 1999-2001 Apple Computer, Inc. All rights reserved.