Important: The information in this document is obsolete and should not be used for new development.
SetIconCacheProc
You can use theSetIconCacheProcfunction 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
TheSetIconCacheProcfunction sets the icon getter function for the specified icon cache to the icon getter function specified by the parametertheProc.RESULT CODES
noErr 0 No error paramErr -50 The parameter theCachemust be a handle to an icon cache