NWAllocTempNSDirHandle2(3nw)
NWAllocTempNSDirHandle2 --
assigns a temporary directory handle in the specified name space
Synopsis
#include <nwnamspc.h>
or
#include <nwcalls.h>
NWCCODE N_API NWAllocTempNSDirHandle2
(NWCONN_HANDLE conn,
nuint8 dirHandle,
pnstr8 path,
nuint8 namSpc,
pnuint8 newDirHandle,
nuint8 newNamSpc);
Description
The parameters are as follows:
- conn
-
(IN) Specifies the NetWare server connection handle through which to attach.
- dirHandle
-
(IN) Specifies the directory handle associated with the desired directory path.
- path
-
(IN) Points to an absolute path, (or relative if dirHandle is non-zero), with which dirHandle is to be associated.
- namSpc
-
(IN) Specifies the name space of the dirHandle/path combination.
- newDirHandle
-
(OUT) Points to the new directory handle.
- newNameSpc
-
(IN) Specifies the name space to be used for the new directory handle.
Return values
- 0x0000
-
SUCCESSFUL
- 0x8801
-
INVALID_CONNECTION
- 0x8998
-
VOLUME_DOES_NOT_EXIST
- 0x899B
-
BAD_DIRECTORY_HANDLE
- 0x899C
-
INVALID_PATH
- 0x89BF
-
INVALID_NAME_SPACE
Services
Name Space
NCP calls
0x2222 23 17 Get File Server Information
0x2222 87 06 Obtain File or Subdirectory Information
0x2222 87 12 Allocate Short Directory Handle
References
NWAllocTempNSDirHandle(3nw),
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.