pszDirName (PSZ) - input
If no drive is specified, the current drive is assumed.
DosQuerySysInfo is called by an application during initialization to determine the maximum path length allowed by the operating system.
peaop2 (PEAOP2) - in/out
On input, the fpGEA2List field and oError fields are ignored. The EA setting operation is performed on the information contained in fpFEA2List. If extended attributes are not to be defined or modified, then peaop2 must be set to null.
On output, fpGEA2List and fpFEA2List are unchanged. The area that fpFEA2List points to is unchanged. If an error occurred during the set, oError is the offset of the FEA2 where the error occurred. The return code is the error code corresponding to the condition generating the error. If no error occurred, oError is undefined.
If peaop2 is zero, then no extended attributes are defined for the directory.
ulrc (APIRET) - returns
DosCreateDir returns one of the following values: