Q3HandleStorage_Set
You can use theQ3HandleStorage_Setfunction 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_Setfunction sets the buffer location and size of the handle storage object specified by thestorageparameter to the values specified in thehandleandvalidSizeparameters. If you pass the valueNULLin thehandleparameter, 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 passNULLinhandleand 0 invalidSize, QuickDraw 3D allocates a buffer of a private default size.SPECIAL CONSIDERATIONS
You must not useQ3HandleStorage_Setwith an open handle storage object.ERRORS
kQ3ErrorInvalidObjectParameter
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help