The NWDSReadAttrDef function uses the following information types to determine whether information is returned about the attribute names or also about attribute characteristics.
Name
C Value
Description
DS_ATTR_DEF_NAMES
0
Returns only the name of the attributes
DS_ATTR_DEFS
1
Returns the name and the characteristics of the attributes (constraints, syntax ID, value limits, ASN.1 ID)