Q3MacintoshStorage_GetType
You can use the Q3MacintoshStorage_GetType function to get the type of a Macintosh storage object.
TQ3ObjectType Q3MacintoshStorage_GetType (
TQ3StorageObject storage);
storage
- A Macintosh storage object.
DESCRIPTION
The Q3MacintoshStorage_GetType function returns, as its function result, the type of the Macintosh storage object specified by the storage parameter. The types of Macintosh storage objects currently supported by QuickDraw 3D are defined by this constant:
kQ3MacintoshStorageTypeFSSpec
If the specified memory storage object is invalid or is not of this type, Q3MacintoshStorage_GetType returns the value kQ3ObjectTypeInvalid.
ERRORS
kQ3ErrorNoSubclass
kQ3ErrorInvalidObjectParameter
kQ3ErrorNULLParameter