Q3HandleStorage_New
You can use theQ3HandleStorage_Newfunction to create a new handle storage object.
TQ3StorageObject Q3HandleStorage_New ( Handle handle, unsigned long validSize);
handle- A handle to a buffer in memory, or
NULL.validSize- The size, in bytes, of the specified buffer.
DESCRIPTION
TheQ3HandleStorage_Newfunction returns, as its function result, a new handle storage object associated with the buffer specified by thehandleandvalidSizeparameters. Your application must not access that buffer until the associated storage object is closed or disposed of. IfQ3HandleStorage_Newcannot create a new storage object, it returns the valueNULL. 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.ERRORS
kQ3ErrorOutOfMemory
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help