Carbon


OverrideIconRef

Header: Icons.h Carbon status: Supported

Replaces the bitmaps of one IconRef with those of another IconRef.

OSErr OverrideIconRef (
    IconRef oldIconRef, 
    IconRef newIconRef
);
Parameter descriptions
oldIconRef

A pointer to a value of type IconRef whose bitmaps are to be replaced.

newIconRef

A pointer to a value of typeIconRef containing the replacement bitmaps.

function result

A result code.

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)