Retrieves information used in further calls to the name space
#include <nwnamspc.h>
or
#include <nwcalls.h>
NWCCODE N_API NWGetDirectoryBase (
NWCONN_HANDLE conn,
nuint8 dirHandle,
const nstr8 N_FAR *path,
nuint8 dstNamSpc,
NW_IDX N_FAR *idxStruct);
uses calwin32
Function NWGetDirectoryBase
(conn : NWCONN_HANDLE;
dirHandle : nuint8;
const path : pnstr8;
dstNamSpc : nuint8;
Var idxStruct : NW_IDX
) : NWCCODE;
(IN) Specifies the NetWare server connection handle.
(IN) Specifies the directory handle associated with the directory to search.
(IN) Points to a valid DOS path (pointing to a directory or a file).
(IN) Specifies the destination name space (see Section 20.5, Name Space Flag Values).
(OUT) Points to NW_IDX.
These are common return values; see Return Values (Return Values for C) for more information.
The path parameter must be upper case if dirHandle contains a DOS name space directory handle.
The path and dirHandle parameters must match the dstNamSpc parameter.
NetWare uses the idxStruct parameter as an index to quickly locate a directory entry (file or directory). It is required as a calling parameter to other functions and should not be modified by the application.