17 Accessing File Objects
Q3File_GetMode
function to determine an open file object's current file mode.
TQ3Status Q3File_GetMode ( TQ3FileObject file, TQ3FileMode *mode);file
A file object. This file object must be open.mode
On exit, the current file mode of the specified file object.
Q3File_GetMode
function returns, in the mode
parameter, a set of flags that encodes the current file mode of the file object specified by the file
parameter. See "File Mode Flags" on page 17-12 for a complete description of the available file mode flags.kQ3ErrorFileNotOpen
kQ3ErrorInvalidObjectParameter
kQ3ErrorNULLParameter
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker