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 1 - Resource Manager / Resource Manager Reference
Resource Manager Routines / Counting and Listing Resource Types


Count1Types

You can use the Count1Types function to get the number of resource types in the current resource file.

FUNCTION Count1Types: Integer;
DESCRIPTION
The Count1Types function reads the resource map in memory for the current resource file. It returns an integer representing the total number of unique resource types in the current resource file.

RESULT CODE
noErr0No error
SEE ALSO
To check for errors, call the ResError function as described on page 1-47.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996