Returns the syntax definition for a given eDirectory syntax identifier.
#include <nwnet.h>
or
#include <nwdsmisc.h>
N_EXTERN_LIBRARY (NWDSCCODE) NWDSReadSyntaxDef (
NWDSContextHandle context,
nuint32 syntaxID,
pSyntax_Info_T syntaxDef);
uses netwin32
Function NWDSReadSyntaxDef
(context : NWDSContextHandle;
syntaxID : nuint32;
syntaxDef : pSyntax_Info_T
) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Specifies the syntax identifier whose definition is to be returned (see Section 5.26, Syntax IDs).
(OUT) Points to a Syntax_Info_T structure, which receives the syntax definition.
|
0x0000 0000 |
SUCCESSFUL |
|
nonzero value |
Nonzero values indicate errors. See |
The syntaxID parameter is an identifier (not a string) of a syntax. These identifiers (such as SYN_TEL_NUMBER) are enumerated in the nwdsdefs.h file.
This is a local function. Syntaxes are well known.