Returns name space entry information for the entry referred to by the dirHandle and path combination
#include <nwnamspc.h>
or
#include <nwcalls.h>
NWCCODE N_API NWGetNSEntryInfo (
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
const nstr8 N_FAR *path,
nuint8 srcNamSpc,
nuint8 dstNamSpc,
nuint16 searchAttrs,
nuint32 retInfoMask,
NW_ENTRY_INFO N_FAR *entryInfo);
uses calwin32
Function NWGetNSEntryInfo
(conn : NWCONN_HANDLE;
dirHandle : nuint8;
const path : pnstr8;
srcNamSpc : nuint8;
dstNamSpc : nuint8;
searchAttrs : nuint16;
retInfoMask : nuint32;
Var entryInfo : NW_ENTRY_INFO
) : NWCCODE;
(IN) Specifies the NetWare server connection handle.
(IN) Specifies the directory handle associated with the desired name space (optional).
(IN) Points to the valid DOS path (pointing to a directory or file).
(IN) Specifies the name space of dirHandle/path (see Section 20.5, Name Space Flag Values).
(IN) Specifies the name space for the return information (see Section 20.5, Name Space Flag Values).
(IN) Specifies the search attributes to use (see Section 20.8, Search Attributes Values).
(IN) Specifies the information to return (see Section 20.6, Basic Return Mask Values).
(OUT) Points to NW_ENTRY_INFO. Only fields related to retInfoMask are valid.
These are common return values; see Return Values (Return Values for C) for more information.
dirHandle can be zero if path contains the complete path, including the volume name. dirHandle and/or path contains the entry name according to srcNamSpc. This information is returned for dstNamSpc.
To request information from a server, a client sets the appropriate bit or bits of retInfoMask and sends a request packet to the server.