Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: More Macintosh Toolbox /
Chapter 5 - Icon Utilities / Icon Utilities Reference
Icon Utilities Routines / Working With Icon Caches


SetIconCacheProc

You can use the SetIconCacheProc function to set the icon getter function associated with an icon cache.

FUNCTION SetIconCacheProc (theCache: Handle; 
                           theProc: IconGetter): OSErr;
theCache
A handle to the icon cache whose icon getter function is to be set.
theProc
A pointer to the icon getter function to set.
DESCRIPTION
The SetIconCacheProc function sets the icon getter function for the specified icon cache to the icon getter function specified by the parameter theProc.

RESULT CODES
noErr0No error
paramErr-50The parameter theCache must be a handle to an icon cache

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996