Gets a volume number, a directory base for the specified name space, and a directory base for the DOS name space entry
#include <nwfileng.h>
N_EXTERN_LIBRARY( NWCCODE )NWGetDirBaseFromPath (
char *path,
BYTE nameSpace,
LONG *volNum,
LONG *NSDirBase,
LONG *DOSDirBase);
(IN) Points to the directory path to generate a directory base (number) for.
(IN) Specifies the name space to generate the directory base (number) for.
(OUT) Points to the volume number that corresponds with path.
(OUT) Points to a directory index for the specified name space.
(OUT) Points to a directory index for the DOS name space of the entry.
If NWGetDirBaseFromPath succeeds, it returns zero. Otherwise, it returns a nonzero error code.
NWGetDirBaseFromPath gets a volume number, a directory base for the specified name space, and a directory base for the DOS name space for the entry.