NWGetDirBaseFromPath

Gets a volume number, a directory base for the specified name space, and a directory base for the DOS name space entry

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

Syntax

   #include <nwfileng.h>  
    
   N_EXTERN_LIBRARY( NWCCODE )NWGetDirBaseFromPath  (  
      char   *path,   
      BYTE    nameSpace,   
      LONG   *volNum,   
      LONG   *NSDirBase,   
      LONG   *DOSDirBase); 
   

Parameters

path

(IN) Points to the directory path to generate a directory base (number) for.

nameSpace

(IN) Specifies the name space to generate the directory base (number) for.

volNum

(OUT) Points to the volume number that corresponds with path.

NSDirBase

(OUT) Points to a directory index for the specified name space.

DOSDirBase

(OUT) Points to a directory index for the DOS name space of the entry.

Return Values

If NWGetDirBaseFromPath succeeds, it returns zero. Otherwise, it returns a nonzero error code.

Remarks

NWGetDirBaseFromPath gets a volume number, a directory base for the specified name space, and a directory base for the DOS name space for the entry.