Sets the name space that is to be used for parsing paths that are input to server functions
#include <nwnamspc.h>
BYTE SetCurrentNameSpace (
BYTE newNameSpace);
(IN) Specifies the new name space (see Section 20.5, Name Space Flag Values).
Returns the old name space if successful. If the specified name space is not valid or is not supported on the current working volume (CWV) and current working directory (CWD), returns error code 255 and NWErrno is set to ERR_INVALID_PATH.
SetCurrentNameSpace sets the name space to be used by the current thread group for parsing paths. This name space is used by this thread group for paths input to subsequent calls to functions from the NetWare API (until changed by another call to this function).
SetTargetNameSpace sets the name space for output from subsequent calls to functions from the NetWare API.
If you change the current name space to a non-DOS name space, CLIB will uppercase the names of newly created files and directories by default. To modify this behavior, call UseAccurateCaseForPaths.
#include <nwnspace.h> BYTE oldNameSpace; BYTE newNameSpace; oldNameSpace=SetCurrentNameSpace(newNameSpace);