Returns the name of a specified name space and the number of name spaces currently supported by NetWare
#include <nwnspace.h>
int GetNameSpaceName (
int volume,
LONG nameSpace,
char *name,
int *numberOfNameSpace);
(IN) Specifies the volume for which name space information is desired.
(IN) Specifies the number of the name space whose name is desired (see Section 20.5, Name Space Flag Values).
(OUT) Points to the name of the name space in ASCIIZ string (buffer length should be 32 bytes).
(OUT) Points to the number of name spaces currently supported by NetWare.
The five name spaces that are currently available are:
NOTE:For NSS volumes, GetNameSpaceName returns 2 (name space loaded and supported) for only the DOS and LONG name spaces. For the NFS and MAC name spaces, it just returns 1 (name space is loaded but not supported) on NSS volumes. These results conflict with the name space information displayed by the VOLUMES command. For the correct information on NSS volumes, please use the NWGetNSLoadedList (NLM) function.