DosQueryFileMode

This function is used for setting and querying the standard attributes of files.

There is no much information about this function and it is possible that it was not implemented on the OS/2 4.5 Toolkit.

This function was listed on the "OS/2 2.0 Technical Library: Programming Guide Volume I" but there is no informatio about it's details.

Syntax
DosQueryFileMode

Remarks
A file's open mode can be queried and set at run time by a call to the DosQueryFileMode and DosSetFileMode API functions.