Retrieves NDSPING information.
#include <nwnet.h> or #include <nwdsmisc.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSGetNDSInfo ( NWDSContextHandle context, pBuf_T resultBuffer, nflag32 requestedField, nptr data);
uses netwin32 Function NWDSGetNDSInfo (context : NWDSContextHandle; resultBuffer : pBuf_T; requestedField : nflag32; data : nptr ) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the buffer filled by a call to the NWDSReadNDSInfo function.
(IN) Specifies the DSPING flag for which information is needed (see Section 5.19, eDirectory Ping Flags).
(OUT) Points to information specified in requestedField.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
NWDSGetNDSInfo retrieves DSPING information, one field per call, returned in the resultBuffer of NWDSReadNDSInfo. The fields in the resultBuffer can be called in any order, and information in a particular field can be retrieved multiple times. Retrieval can continue until the resultBuffer has been reused or freed.
For instructions on how to use NWDSGetNDSInfo, see Accessing eDirectory Ping Information.