Q3File_GetMode
You can use the 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.
DESCRIPTION
The 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.
ERRORS
kQ3ErrorFileNotOpen
kQ3ErrorInvalidObjectParameter
kQ3ErrorNULLParameter