Jump to content

DosQueryFileMode: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
m Remarks: wrong cite
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.
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].


==Example Code==
==Example Code==

Revision as of 12:37, 19 January 2020

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.

Example Code

C Binding

MASM Binding

Related Functions