NWAllocTempNSDirHandle2

Assigns a temporary directory handle in the specified name space

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Name Space

Syntax

   #include <nwnamspc.h> 
   or 
   #include <nwcalls.h> 
    
   NWCCODE N_API NWAllocTempNSDirHandle2 ( 
      NWCONN_HANDLE       conn,  
      nuint8              dirHandle,  
      const nstr8 N_FAR  *path,  
      nuint8              nameSpc,  
      pnuint8             newDirHandle,  
      nuint8              newNameSpace);
   

Delphi Syntax

   uses calwin32 
    
   Function NWAllocTempNSDirHandle2 
     (conn : NWCONN_HANDLE; 
      dirHandle : nuint8; 
      const path : pnstr8; 
      namSpc : nuint8; 
      newDirHandle : pnuint8; 
      newNameSpace : nuint8 
   ) : NWCCODE;
   

Parameters

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 (see Section 20.5, Name Space Flag Values).

newDirHandle

(OUT) Points to the new directory handle.

newNameSpc

(IN) Specifies the name space to be used for the new directory handle (see Section 20.5, Name Space Flag Values).

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x8998

VOLUME_DOES_NOT_EXIST

0x899B

BAD_DIRECTORY_HANDLE

0x899C

INVALID_PATH

0x89BF

INVALID_NAME_SPACE

NCP Calls