Important: The information in this document is obsolete and should not be used for new development.
CountTypesYou can use the
CountTypesfunction to get the number of resource types in all resource forks open to your application.
FUNCTION CountTypes: Integer;
CountTypesfunction reads the resource maps in memory for all resource forks open to your application. It returns an integer representing the total number of unique resource types.
noErr 0 No error
SEE ALSOTo check for errors, call the
ResErrorfunction as described on page 1-47.