Carbon


UpdateIconRef

Header: Icons.h Carbon status: Supported

Forces an update of IconRef data.

OSErr UpdateIconRef (
    IconRef theIconRef
);
Parameter descriptions
theIconRef

An IconRef to be updated.

function result

A result code.

DISCUSSION

This function is useful after you have changed a file or folder’s custom icon, for example. Do not call the UpdateIconRef function if you have not already obtained an IconRef for a particular icon; call the function GetIconRefFromFile instead.

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)