Important: The information in this document is obsolete and should not be used for new development.
GetIconCacheData
You can use theGetIconCacheDatafunction to get the data associated with an icon cache.
FUNCTION GetIconCacheData (theCache: Handle; VAR theData: Ptr): OSErr;
theCache- A handle to the icon cache whose data is desired.
theDataGetIconCacheDatareturns, in this parameter, a pointer to the data associated with the icon cache.DESCRIPTION
TheGetIconCacheDatafunction returns, in the parametertheData, a pointer to the data associated with the specified icon cache. You associate data with an icon cache when you first create the cache usingMakeIconCache. You can also set this data usingSetIconCacheData.RESULT CODES
noErr 0 No error paramErr -50 The parameter theCachemust be a handle to an icon cache