pszDirName (PSZ) - input

      Address of the ASCIIZ directory path name, which may contain a drive specification.

      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

      Address of the extended attribute buffer, which contains an EAOP2 data structure.

      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

      Return Code.

      DosCreateDir returns one of the following values:

    • NO_ERROR 3
        ERROR_PATH_NOT_FOUND
      5
        ERROR_ACCESS_DENIED
      26
        ERROR_NOT_DOS_DISK
      87
        ERROR_INVALID_PARAMETER
      108
        ERROR_DRIVE_LOCKED
      206
        ERROR_FILENAME_EXCED_RANGE
      254
        ERROR_INVALID_EA_NAME
      255
        ERROR_EA_LIST_INCONSISTENT
        ERROR_EA_VALUE_UNSUPPORTABLE
      For a full list of error codes, see Errors.


    [Back] [Next]