Carbon


UnregisterIconRef

Header: Icons.h Carbon status: Supported

Removes the specified icon data from the icon registry.

OSErr UnregisterIconRef (
    OSType creator, 
    OSType iconType
);
Parameter descriptions
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 Carbon 1.0.2 and later when running Mac OS 8.5 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)