NWDSPutChange

Stores a change record in a request buffer to be used by NWDSModifyObject.

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> 
   
  N_EXTERN_LIBRARY (NWDSCCODE)  NWDSPutChange  ( 
     NWDSContextHandle   context,  
     pBuf_T              buf,  
     nuint32             changeType,  
     pnstr8              attrName); 
  

Pascal

  uses netwin32 
   
  Function NWDSPutChange 
    (context : NWDSContextHandle; 
     buf : pBuf_T; 
     changeType : nuint32; 
     attrName : pnstr8 
  ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context for the request.

buf

(IN) Points to the request buffer where the request will be stored.

changeType

(IN) Specifies the modification type to be performed (see Section 5.5, Change Types for Modifying Objects).

attrName

(IN) Points to the attribute name to be changed.

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

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

Remarks

A change record includes the name of the attribute and the type of change to be performed.

If an attempt is made to modify the Object Class attribute, an error is returned.

If the change operation requires an attribute value, this function is followed by the NWDSPutAttrVal function which supplies the value for the attribute specified in the NWDSPutChange function. The NWDSPutChangeAndVal function combines this functionality and is the preferred function for changes that require an attribute value.

NCP Calls

See Also

NWDSPutAttrVal, NWDSModifyObject