NWDSPutSyntaxName

Stores a syntax name in a request buffer to be used by a eDirectory function.

NetWare Server:4.x, 5.x, 6.x
Platform: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)  NWDSPutSyntaxName  ( 
     NWDSContextHandle   context,  
     pBuf_T              buf,  
     pnstr8              itemName); 
  

Pascal

  uses netwin32 
   
  Function NWDSPutSyntaxName 
    (context : NWDSContextHandle; 
     buf : pBuf_T; 
     itemName : pnstr8; 
    ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context for the request.

buf

(IN) Points to the request buffer being prepared.

itemName

(IN) Points to the syntax name to be stored in the request buffer.

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

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

Remarks

NWDSPutSyntaxName is a macro that calls NWDSPutClassItem.

The buf parameter points to Buf_T, which is allocated by NWDSAllocBuf and initialized by NWDSInitBuf.

NCP Calls

See Also

NWDSReadClassDef, NWDSPutClassItem