NWStripServerOffPath

Parses a server or volume path, copies the server name to the buffer specified by server, and returns a pointer to the volume path

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:Path and Drive

Syntax

   #include <nwdpath.h> 
   or 
   #include <nwcalls.h> 
   
   N_EXTERN_LIBRARY(pnstr8) NWStripServerOffPath ( 
      constr nstr8 N_FAR  *path,  
      pnstr8               server);
   

Delphi Syntax

   uses calwin32 
    
   Function NWStripServerOffPath 
     (path : pnstr8; 
      server : pnstr8 
   ) : pnstr8;
   

Parameters

path

(IN) Points to a string containing a server volume path.

server

(OUT) Points to a 48-character buffer for the server name (optional).

Return Values

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

0x0000

path passed in was NULL

character pointer

pointer to the volume path

See Also

NWParsePath, NWParseNetWarePath