16 Managing Storage Objects

16 Q3Storage_GetSize

You can use the Q3Storage_GetSize function to get the size of the data stored in a storage object.

TQ3Status Q3Storage_GetSize (
TQ3StorageObject storage, 
unsigned long *size);
storage A storage object.
size On entry, a pointer to a buffer. On exit, the number of bytes of data stored in the specified storage object.

DESCRIPTION


The Q3Storage_GetSize function returns, through the size parameter, the number of bytes of data stored in the storage object specified by the storage parameter. That storage object must already be open when you call Q3Storage_GetSize.

ERRORS


kQ3ErrorInvalidObjectParameter
kQ3ErrorNULLParameter
kQ3ErrorStorageNotOpen

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