NWDeleteDirectory(3nw)


NWDeleteDirectory -- deletes a NetWare directory

Synopsis

   #include <nwdirect.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWDeleteDirectory (NWCONN_HANDLE conn, NWDIR_HANDLE dirHandle, pnstr8 dirPath);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

dirHandle
(IN) Specifies the directory handle of the target directory's root.

dirPath
(IN) Points to the string containing the path, relative to dirHandle, of the directory being deleted.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x898A
NO_DELETE_PRIVILEGES

0x8996
SERVER_OUT_OF_MEMORY

0x8998
VOLUME_DOES_NOT_EXIST

0x899B
BAD_DIRECTORY_HANDLE

0x899C
INVALID_PATH

0x899F
DIRECTORY_ACTIVE

0x89A0
DIRECTORY_NOT_EMPTY

0x89A1
DIRECTORY_IO_ERROR

0x89FD
BAD_STATION_NUMBER

0x89FF
Failure

Notices

dirHandle can be zero if dirPath points to the complete path, including the volume name.

Services

File Systems

NCP calls

0x2222 22 11 Delete Directory
0x2222 23 17 Get File Server Information
0x2222 87 08 Delete A File Or Subdirectory

References

NWCreateDirectory(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.