![]() |
RegisterIconRefFromIconFile |
||||
Header: | Icons.h | Carbon status: | Under Evaluation | |
Adds a file-derived IconRef to the Icon Services registry.
OSErr RegisterIconRefFromIconFile ( OSType creator, OSType iconType, const FSSpec *iconFile, IconRef *theIconRef );
The creator code of the icon data you wish to register. You can use your applications creator code, for example. Lower-case creator codes are reserved for the system.
The type code of the icon data you wish to register.
A pointer to the file system specification structure for the file to use as the icon data source.
On return, a pointer to the desired icon data.
A result code.
Under evaluation for Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)