Returns the default name space
#include <nwnamspc.h>
or
#include <nwcalls.h>
NWCCODE N_API NWNSGetDefaultNS (
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
const nstr8 N_FAR *path,
pnuint8 pbuDefaultNameSpace);
uses calwin32
Function NWNSGetDefaultNS
(conn : NWCONN_HANDLE;
dirHandle : NWDIR_HANDLE;
const path : pnstr8;
pbuDefaultNameSpace : pnuint8
) : NWCCODE;
(IN) Specifies the NetWare server connection handle.
(IN) Specifies the directory handle associated with the directory for which to return the default name space.
(IN) Points to a valid NetWare path (pointing to a directory or a file).
(OUT) Points to the default name space.
These are common return values; see Return Values (Return Values for C) for more information.
Both the dirHandle and path parameters must be in the default name space.
The default name space is the name space that matches the OS and the loaded name spaces on that volume. For example, Windows 95 on a volume with LONG name space will set LONG name space as the default name space.
NWGetVolumeInfoWithHandle, NWGetVolumeNumber (Volume Management)