Retrieves a filename for the specified name space.
#include <nwnamspc.h>
or
#include <nwcalls.h>
NWCCODE N_API NWGetLongName (
NWCONN_HANDLE conn,
nuint8 dirHandle,
const nstr8 N_FAR *path,
nuint8 srcNamSpc,
nuint8 dstNamSpc,
pnstr8 longName);
uses calwin32
Function NWGetLongName
(conn : NWCONN_HANDLE;
dirHandle : nuint8;
const path : pnstr8;
srcNamSpc : nuint8;
dstNamSpc : nuint8;
longName : pnstr8
) : NWCCODE;
(IN) Specifies the NetWare server connection handle.
(IN) Specifies the directory handle associated with the directory to scan. It can be 0 if path contains a fully specified path.
(IN) Points to a valid path. This can either be a fully specified path (vol:path), or it can be relative to dirHandle.
(IN) Specifies the name space referred to by dirHandle/path (see Section 20.5, Name Space Flag Values).
(IN) Specifies the name space for the return name (see Section 20.5, Name Space Flag Values).
(OUT) Points to a buffer returning the corresponding name space’s name (up to 256 bytes).
These are common return values; see Return Values (Return Values for C) for more information.
longName includes only the name of the last component in the path. NWGetLongName does not translate the entire path to a new name in the designated name space.
The name returned is the same name returned by NWGetNSEntryInfo.