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


GetIconCacheProc

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;
theCache
A handle to the icon cache whose icon getter function is desired.
theProc
GetIconCacheProc returns a pointer to the requested icon getter function in this parameter.
DESCRIPTION
The GetIconCacheProc function returns, in the parameter theProc, a pointer to the icon getter function currently associated with the specified icon cache.

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