Important: The information in this document is obsolete and should not be used for new development.
SetIconCacheProc
You can use theSetIconCacheProc
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
TheSetIconCacheProc
function 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 theCache
must be a handle to an icon cache