This call changes the mode (attribute) of the specified file.
DosSetFileMode
FileName (PSZ) - input
DosQSysInfo is called by an application during initialization to determine the maximum path length allowed by OS/2.
Bit
Attributes for Volume Label (0008H) and Subdirectory (0010H) cannot be changed using DosSetFileMode. If these attributes are specified, ERROR_INVALID_PARAMETER is returned.
DosQFileMode is used to query the current settings for file attributes. Calling DosQFSInfo obtains volume label information.
Attributes of root directories cannot be changed using DosSetFileMode. If these attributes are specified, ERROR_ACCESS_DENIED is returned.