NWGetNameSpaceEntryName

Returns the name of a file or directory in the specified name space

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM
Service:Name Space

Syntax

   #include <nwnspace.h>  
    
   int NWGetNameSpaceEntryName  (  
      BYTE   *path,   
      LONG    nameSpace,   
      LONG    maxNameBufferlength,   
      BYTE   *nameSpaceEntryName); 
   

Parameters

path

(IN) Points to the path to the file system entry to get a name space entry name.

nameSpace

(IN) Specifies the name space to get the file or directory name for (see Section 20.5, Name Space Flag Values).

maxNameBufferLength

(IN) Specifies the maximum length of a name that can be stored in the buffer specified by nameSpaceEntryName.

nameSpaceEntryName

(IN) Points to a buffer in which to store the name.

Return Values

ESuccess or NetWare errors

Remarks

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.

See Also

NWSetNameSpaceEntryName