Creates a NetWare directory on the specified server
#include <nwdirect.h>
or
#include <nwcalls.h>
N_EXTERN_LIBRARY(NWCCODE) NWCreateDirectory (
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
const nstr8 N_FAR *dirPath,
nuint8 accessMask);
uses calwin32
Function NWCreateDirectory
(conn : NWCONN_HANDLE;
dirHandle : NWDIR_HANDLE;
const dirPath : pnstr8;
accessMask : nuint8
) : NWCCODE;
(IN) Specifies the NetWare server connection handle.
(IN) Specifies the directory handle of the root directory for the new directory (0 if the dirPath parameter points to the complete path, including the volume name).
(IN) Points to the string containing the name and path of the new directory.
(IN) Specifies the access rights mask for the new directory.
These are common return values; see Return Values (Return Values for C) for more information.
The accessMask parameter can be set using one or more of the following:
|
Hex |
Definition |
|---|---|
|
0xFB |
TA_ALL |
|
0x01 |
TA_READ |
|
0x02 |
TA_WRITE |
|
0x04 |
TA_OPEN |
|
0x08 |
TA_CREATE |
|
0x10 |
TA_DELETE |
|
0x20 |
TA_OWNERSHIP |
|
0x40 |
TA_SEARCH |
|
0x80 |
TA_MODIFY |
NOTE:Actual rights are set according to inherited rights.