Stores a syntax name in a request buffer to be used by a eDirectory function.
#include <nwnet.h>
or
#include <nwdsbuft.h>
N_EXTERN_LIBRARY (NWDSCCODE) NWDSPutSyntaxName (
NWDSContextHandle context,
pBuf_T buf,
pnstr8 itemName);
uses netwin32
Function NWDSPutSyntaxName
(context : NWDSContextHandle;
buf : pBuf_T;
itemName : pnstr8;
) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the request buffer being prepared.
(IN) Points to the syntax name to be stored in the request buffer.
|
0x0000 0000 |
SUCCESSFUL |
|
nonzero value |
Nonzero values indicate errors. See |
NWDSPutSyntaxName is a macro that calls NWDSPutClassItem.
The buf parameter points to Buf_T, which is allocated by NWDSAllocBuf and initialized by NWDSInitBuf.