Returns the owning name space for the specified directory or file
#include <nwnamspc.h>
or
#include <nwcalls.h>
NWCCODE N_API NWGetOwningNameSpace (
NWCONN_HANDLE conn,
nuint8 dirHandle,
const nstr8 N_FAR *path,
pnuint8 nameSpace);
uses calwin32
Function NWGetOwningNameSpace
(conn : NWCONN_HANDLE;
dirHandle : nuint8;
const path : pnstr8;
namSpc : pnuint8
) : NWCCODE;
(IN) Specifies the NetWare server connection handle.
(IN) Specifies the directory handle associated with the directory to search.
(IN) Points to a valid NetWare path (pointing to a directory or file).
(OUT) Points to the owning name space (see Section 20.5, Name Space Flag Values).
These are common return values; see Return Values (Return Values for C) for more information.
The owning name space is defined as the name space under which the entry (file or directory) was created.
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.