16 Creating and Accessing Memory Storage Objects

16 Q3MemoryStorage_GetType

You can use the Q3MemoryStorage_GetType function to get the type of a memory storage object.

TQ3ObjectType Q3MemoryStorage_GetType (TQ3StorageObject storage);
storage A memory storage object.

DESCRIPTION


The Q3MemoryStorage_GetType function returns, as its function result, the type of the memory storage object specified by the storage parameter. The types of memory storage objects currently supported by QuickDraw3D are defined by this constant:

kQ3MemoryStorageTypeHandle
If the specified memory storage object is invalid or is not of this type, Q3MemoryStorage_GetType returns the value kQ3ObjectTypeInvalid.

ERRORS


kQ3ErrorNoSubclass
kQ3ErrorInvalidObjectParameter
kQ3ErrorNULLParameter

DESCRIPTION
ERRORS

3D Graphics Programming with QuickDraw 3D - 17 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker