Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: More Macintosh Toolbox /
Chapter 5 - Icon Utilities / Icon Utilities Reference
Icon Utilities Routines / Working With Icon Caches


GetIconCacheData

You can use the GetIconCacheData 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
The GetIconCacheData function returns, in the parameter theData, a pointer to the data associated with the specified icon cache. You associate data with an icon cache when you first create the cache using MakeIconCache. You can also set this data using SetIconCacheData.

RESULT CODES
noErr0No error
paramErr-50The parameter theCache must be a handle to an icon cache

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996