DosQFileMode
Bindings: C,
MASM
This call queries the mode (attribute) of the specified file.
DosQFileMode
(FilePathName, CurrentAttribute, Reserved)
FilePathName (PSZ) - input
Address of the
file path name.
DosQSysInfo is called by an application
during initialization to determine the maximum path length allowed by OS/2.
CurrentAttribute (PUSHORT) - output
Address
of the file's current attribute.
Bit
15-6
5
4
3
2
1
0
These bits can be set individually or in combination.
For example, an attribute value of 0021H (bits 5 and 0 set to 1) indicates
a read-only file that is archived.
Reserved (ULONG)
- input
Reserved must be set to zero.
rc
(USHORT) - return