Carbon


SetCustomIconsEnabled

Header: Icons.h Carbon status: Supported

Enables or disables custom icons on a specified volume.

OSErr SetCustomIconsEnabled (
    SInt16 vRefNum, 
    Boolean enableCustomIcons
);
Parameter descriptions
vRefNum

The volume where custom icons are to be enabled or disabled.

enableCustomIcons

If you pass true, custom icons are enabled on the volume specified. Passing false disables custom icons on the volume specified.

function result

A result code.

DISCUSSION

If you use the SetCustomIconsEnabled function to enable or disable custom icons, the setting remains in effect only as long as the specified volume remains mounted during the current session.

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)