![]() |
GetIconRefOwners |
||||
Header: | Icons.h | Carbon status: | Supported | |
Provides the current reference count for an IconRef.
OSErr GetIconRefOwners ( IconRef theIconRef, UInt16 *owners );
An IconRef whose reference count you wish to obtain.
On return, a pointer to the value which represents the current reference count.
A result code.
When an IconRefs reference count reaches 0, all memory allocated for the IconRef is marked as disposable. Any subsequent attempt to use the IconRef returns a result code of -2580 (invalidIconRefErr).
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)