NWDSGetNDSInfo

Retrieves NDSPING information.

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98, Windows 2000, Windows XP
Library:Cross-Platform NDS (NET*.*)
Service:NDS

Syntax

C

  #include <nwnet.h> 
  or 
  #include <nwdsmisc.h> 
   
  N_EXTERN_LIBRARY (NWDSCCODE)  NWDSGetNDSInfo  ( 
     NWDSContextHandle   context,  
     pBuf_T              resultBuffer,  
     nflag32             requestedField,  
     nptr                data); 
  

Pascal

  uses netwin32 
   
  Function NWDSGetNDSInfo 
    (context : NWDSContextHandle; 
     resultBuffer : pBuf_T; 
     requestedField : nflag32; 
     data : nptr 
  ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context for the request.

resultBuffer

(IN) Points to the buffer filled by a call to the NWDSReadNDSInfo function.

requestedField

(IN) Specifies the DSPING flag for which information is needed (see Section 5.19, eDirectory Ping Flags).

data

(OUT) Points to information specified in requestedField.

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

Nonzero values indicate errors. See NDS Return Values (–001 to –799).

Remarks

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.

NCP Calls

See Also

NWDSReadNDSInfo,