![]() |
Get1IndType |
||||
Header: | Resources.h | Carbon status: | Supported | |
Gets a resource types available in the current resource file.
void Get1IndType ( ResType *theType, SInt16 index );
On return, the resource type with the specified index in the current resource file.
You can call this function repeatedly over the entire range of the index to get all the resource types available in the current resource file. If the given index isnt in the range from 1 to the number of resource types as returned by Count1Types, this parameter contains four null characters (ASCII code 0).
An integer ranging from 1 to the number of resource types in the current resource file, as returned by the Count1Types function.
To check for errors, call the ResError function.
This function may move or purge memory blocks in the application heap. Your application should not call this function at interrupt time.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 5/8/2000)