Retrieves a list of the name spaces that are loaded on the specified volume
#include <nwnspace.h>
int NWGetNSLoadedList (
BYTE volNum,
WORD loadListSize,
BYTE *NSLoadedList,
WORD *returnListSize);
(IN) Specifies the volume number for which to get the list of loaded name spaces.
(IN) Specifies the size (in bytes) of the NSLoadedList buffer being passed.
(OUT) Points to a buffer to hold the loaded name spaces.
(OUT) Points to the number of name spaces loaded.
ESuccess or NetWare errors
The NSLoadedList contains a BYTE entry for every name space that is loaded on the volume. The buffer for NSLoadedList needs to be at least MAX_NAMESPACES bytes long (therefore, loadListSize needs to be at least MAX_NAMESPACES). In the case where there are more name spaces loaded than there is space available in the NSLoadedList buffer, returnListSize contains the number of name spaces loaded.