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