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


You can use the GetIconCacheProc function to get the icon getter function associated with an icon cache.

FUNCTION GetIconCacheProc (theCache: Handle; 
                           VAR theProc: IconGetter): OSErr;
A handle to the icon cache whose icon getter function is desired.
GetIconCacheProc returns a pointer to the requested icon getter function in this parameter.
The GetIconCacheProc function returns, in the parameter theProc, a pointer to the icon getter function currently associated with the specified icon cache.

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