Important: The information in this document is obsolete and should not be used for new development.
NewIconSuite
You can use theNewIconSuitefunction to get a handle to an empty icon suite.
Then you can useAddIconToSuiteto add handles to icon data.
FUNCTION NewIconSuite (VAR theIconSuite: Handle): OSErr;
theIconSuiteNewIconSuiteallocates the memory for a new icon suite and returns, in this parameter, a handle to an empty icon suite.DESCRIPTION
TheNewIconSuitefunction returns a handle to an empty icon suite in the parametertheIconSuite. When you create an icon suite usingNewIconSuite, it sets the default label for the suite to none. To set a new default label for an icon suite, use theSetSuiteLabelfunction.NewIconSuiteallocates the memory for the icon suite handle. To release the memory occupied by an icon suite, you must use theDisposeIconSuitefunction.RESULT CODES
noErr 0 No error memFullErr -108 Not enough memory in heap zone SEE ALSO
For information on theDisposeIconSuitefunction, see page 5-42.