Q3File_SetStorage
You can use theQ3File_SetStoragefunction to set the storage object for a file object.
TQ3Status Q3File_SetStorage ( TQ3FileObject file, TQ3StorageObject storage);
file- A file object.
storage- A storage object, or
NULL.DESCRIPTION
TheQ3File_SetStoragefunction attaches the file object specified by thefileparameter to the storage object specified by thestorageparameter. The reference count of the storage object is incremented. You can pass the valueNULLin thestorageparameter to clear a file object's storage.You cannot attach the same storage object to more than one file object.
ERRORS
kQ3ErrorFileAlreadyOpen
kQ3ErrorInvalidObject
kQ3ErrorStorageInUse