Important: The information in this document is obsolete and should not be used for new development.
GetIconCacheData
You can use theGetIconCacheData
function 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.
theData
GetIconCacheData
returns, in this parameter, a pointer to the data associated with the icon cache.DESCRIPTION
TheGetIconCacheData
function 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 theCache
must be a handle to an icon cache