Jump to content

DosQueryFileMode: Difference between revisions

From EDM2
No edit summary
Line 1: Line 1:
This function is used for setting and querying the standard attributes of files.
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.  
There is no much information about this function and it is possible that it was not implemented on the OS/2 4.5 Toolkit.  
Line 13: Line 13:


==Remarks==
==Remarks==
A file's open mode can be queried and set at run time by a call to the DosQueryFileMode and [[DosSetFileMode]] API functions.
According to a magazine article this function replaces [[DosQFileMode]] [https://books.google.com.ec/books?id=u7WbsmbttwYC&pg=PT372&lpg=PT372&dq#v=onepage&q&f=false].
According to a magazine article this function replaces [[DosQFileMode]] [https://books.google.com.ec/books?id=u7WbsmbttwYC&pg=PT372&lpg=PT372&dq#v=onepage&q&f=false].



Revision as of 22:55, 18 July 2017

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 ()

Parameters

Return Code

Remarks

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

According to a magazine article this function replaces DosQFileMode [1].

Example Code

C Binding

MASM Binding

Related Functions