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
| noErr | 0 | No error |
| paramErr | -50 | The parameter theCache must be a handle to an icon cache |