Creates a new directory.

#define INCL_DOSFILEMGR
#include <os2.h>

PSZ       pszDirName;  /*  Address of the ASCIIZ directory path name, which may contain a drive specification. */
PEAOP2    peaop2;      /*  Address of the extended attribute buffer, which contains an EAOP2 data structure. */
APIRET    ulrc;        /*  Return Code. */

ulrc = DosCreateDir(pszDirName, peaop2);


[Back] [Next]