16 Creating and Accessing Handle Storage Objects

16 Q3HandleStorage_Get

You can use the Q3HandleStorage_Get function to get information about a handle storage object.

TQ3Status Q3HandleStorage_Get (
TQ3StorageObject storage, 
Handle *handle, 
unsigned long *validSize);
storage A handle storage object.
handle On entry, a pointer to a handle. On exit, a pointer to a handle to the block of memory associated with the specified storage object.
validSize On exit, the size, in bytes, of the block of memory whose address is returned through the buffer parameter.

DESCRIPTION


The Q3HandleStorage_Get function returns, in the handle and validSize parameters, the handle and size of the block of memory currently associated with the handle storage object specified by the storage parameter. Note that the returned handle is a handle to the storage object's data, not of a copy of that data.

ERRORS


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