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