NWDSGetAttrValFlags

Returns the attribute value flags 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  NWDSGetAttrValFlags 
    (NWDSContextHandle   context,  
     pBuf_T              buf,  
     pnuint32            valueFlags); 
  

Pascal

  uses netwin32 
   
  Function NWDSGetAttrValFlags 
    (context : NWDSContextHandle; 
     buf : pBuf_T; 
     valueFlags : pnuint32; 
  ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context for the request.

buf

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

valueFlags

(OUT) Points to the attribute value flags (see Section 5.2, Attribute Value Flags).

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

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

Remarks

NWDSGetAttrValFlags is used to retrieve attribute value flags 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