17 Accessing File Objects

17 Q3File_OpenWrite

You can use the Q3File_OpenWrite function to open a file object for writing.

TQ3Status Q3File_OpenWrite (
TQ3FileObject file, 
TQ3FileMode mode);
file A file object.
mode On exit, a set of bit flags that specify the file mode of the specified file object. Set this field to NULL if you do not want a file mode to be returned.

DESCRIPTION


The Q3File_OpenWrite function opens for writing the file object specified by the file parameter and returns the file mode of the file object in the mode parameter. See "File Mode Flags" on page 17-12 for a description of the available file mode flags.

ERRORS


kQ3ErrorOSError
kQ3ErrorOutOfMemory

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