Jump to content

DosQueryFileMode: Difference between revisions

From EDM2
No edit summary
 
(4 intermediate revisions by 2 users not shown)
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.  


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.
This function was listed on the "OS/2 2.0 Technical Library: Programming Guide Volume I" but there is no information about it's details.


==Syntax==
==Syntax==
Line 13: Line 13:


==Remarks==
==Remarks==
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].
A file's open mode can be queried and set at run time by a call to the DosQueryFileMode and [[DosSetFileMode]] API functions.
 
Maybe it is related to the legacy function [[DosQFileMode]].
==Example Code==
=== C Binding===
===MASM Binding===
==Related Functions==
*


[[Category:Dos]]
[[Category:Dos]]

Latest revision as of 19:04, 8 May 2021

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 information 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. Maybe it is related to the legacy function DosQFileMode.