Returns the name of a file or directory in the specified name space
#include <nwnspace.h>
int NWGetNameSpaceEntryName (
BYTE *path,
LONG nameSpace,
LONG maxNameBufferlength,
BYTE *nameSpaceEntryName);
(IN) Points to the path to the file system entry to get a name space entry name.
(IN) Specifies the name space to get the file or directory name for (see Section 20.5, Name Space Flag Values).
(IN) Specifies the maximum length of a name that can be stored in the buffer specified by nameSpaceEntryName.
(IN) Points to a buffer in which to store the name.
ESuccess or NetWare errors
If you know the name of a file or directory in one name space—DOS, Macintosh, NFS—you can find out its name in other name spaces by calling NWGetNameSpaceEntryName.
The path specified in the path parameter must be in your current name space. For more information, see Section 16.2, Default Name Space.