NWDSGetAttrValModTime

Returns the modification timestamp for the next attribute value in a result buffer.

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 <nwdsbuft.h> 
   
  NWDSCCODE N_API  NWDSGetAttrValModTime  
    (NWDSContextHandle   context,  
     pBuf_T              buf,  
     pTimeStamp_T        timeStamp); 
  

Pascal

  uses netwin32 
   
  Function NWDSGetAttrValModTime 
    (context : NWDSContextHandle; 
     buf : pBuf_T; 
     timeStamp : pTimeStamp_T; 
   ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context for the request.

buf

(IN) Points to the result buffer returned from NWDSRead when infoType is set to DS_VALUE_INFO.

timeStamp

(OUT) Points to the modification timestamp of the attribute value.

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

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

Remarks

NWDSGetAttrValModTime is used to retrieve the modification timestamp of attribute values from a result buffer filled in by functions such as NWDSList, NWDSRead, or NWDSSearch.

When NWDSRead is called with infoType equal to DS_VALUE_INFO, attribute names, values, value flags, and modification timestamps are returned in a result buffer. To retrieve information from the result buffer, the following sequence of calls should be made:

NCP Calls