NWGetNSPath(3nw)


NWGetNSPath -- returns the full NetWare path for the desired name space associated with the specified path

Synopsis

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

NWCCODE N_API NWGetNSPath (NWCONN_HANDLE conn, nuint8 dirHandle, nuint16 fileFlag, nuint8 srcNamSpc, nuint8 dstNamSpc, NW_NS_PATH N_FAR * NSPath);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

dirHandle
(IN) Specifies the directory handle associated with the desired name space.

fileFlag
(IN) Specifies whether the source path ends with a file or a directory name:
   0 = directory name 
   1 = file name 

srcNamSpc
(IN) Specifies the name space used for srcPath in NSPath.

dstNamSpc
(IN) Specifies the name space for the return path.

NSPath
(IN/OUT) Points to NW_NS_PATH.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8998
VOLUME_DOES_NOT_EXIST

0x899B
BAD_DIRECTORY_HANDLE

0x899C
INVALID_PATH

Notices

A full path includes the volume name. For example:

   volume:path\path 

Services

Name Space

NCP calls

0x2222 87 28
Get Full Path String

30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.