Carbon


UnregisterIconRef

Header: Icons.h Carbon status: Supported

Removes the specified icon data from the icon registry.

OSErr UnregisterIconRef (
    OSType creator, 
    OSType iconType
);
creator

The creator code of the icon data to be unregistered.

iconType

The type code of the icon data to be unregistered.

function result

A result code.

DISCUSSION

The specified icon data is not unregistered until all its users have called the function ReleaseIconRef.

You should not unregister an icon that you have not registered.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when IconServicesLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by IconServicesLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/18/2000)