Important: The information in this document is obsolete and should not be used for new development.
GetIconCacheProc
You can use theGetIconCacheProcfunction 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.
theProcGetIconCacheProcreturns a pointer to the requested icon getter function in this parameter.DESCRIPTION
TheGetIconCacheProcfunction returns, in the parametertheProc, a pointer to the icon getter function currently associated with the specified icon cache.RESULT CODES
noErr 0 No error paramErr -50 The parameter theCachemust be a handle to an icon cache