Stores a change record in a request buffer to be used by NWDSModifyObject.
#include <nwnet.h> or #include <nwdsbuft.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSPutChange ( NWDSContextHandle context, pBuf_T buf, nuint32 changeType, pnstr8 attrName);
uses netwin32 Function NWDSPutChange (context : NWDSContextHandle; buf : pBuf_T; changeType : nuint32; attrName : pnstr8 ) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the request buffer where the request will be stored.
(IN) Specifies the modification type to be performed (see Section 5.5, Change Types for Modifying Objects).
(IN) Points to the attribute name to be changed.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
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.