Carbon


CountTypes

Header: Resources.h Carbon status: Supported

Returns the number of resource types in all resource forks open to your application.

SInt16 CountTypes ();
function result

The total number of unique resource types in all resource forks open to your application.0

DISCUSSION

To check for errors, call the ResError function.

AVAILABILITY

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)