Q3HandleStorage_Set
You can use theQ3HandleStorage_Set
function to set information about a handle storage object.
TQ3Status Q3HandleStorage_Set ( TQ3StorageObject storage, Handle handle, unsigned long validSize);
storage
- A handle storage object.
handle
- A handle to a contiguous block of memory to be associated with the specified storage object, or
NULL
.validSize
- The size, in bytes, of the specified buffer.
DESCRIPTION
TheQ3HandleStorage_Set
function sets the buffer location and size of the handle storage object specified by thestorage
parameter to the values specified in thehandle
andvalidSize
parameters. If you pass the valueNULL
in thehandle
parameter, QuickDraw 3D allocates a buffer of the specified size and later disposes of that buffer when the associated storage object is closed or disposed of. If you passNULL
inhandle
and 0 invalidSize
, QuickDraw 3D allocates a buffer of a private default size.SPECIAL CONSIDERATIONS
You must not useQ3HandleStorage_Set
with an open handle storage object.ERRORS
kQ3ErrorInvalidObjectParameter
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help