ADSVALUE

The ADSVALUE structure contains a value specified as an ADSI data type. These types are defined in the preceding ADSI Simple Types.

typedef struct _adsvalue {
    ADSTYPE dwType;
    union {
        ADS_DN_STRING             DNString;
        ADS_CASE_EXACT_STRING     caseExactStrVal;
        ADS_CASE_IGNORE_STRING    caseIgnoreStrVal;
        ADS_PRINTABLE_STRING      printableStrVal;
        ADS_NUMERIC_STRING        numericStrVal;
        ADS_BOOLEAN               boolVal;
        ADS_INTEGER               intVal;
        ADS_OCTET_STRING          octetStrVal;
        ADS_UTC_TIME              utcTimeVal;
        ADS_LARGE_INTEGER         largeIntVal;
        ADS_OBJECT_CLASS          ClassName;
        ADS_PROV_SPECIFIC         provSpecificVal;
    };
} ADSVALUE, *PADSVALUE, *LPADSVALUE;
 

Members

dwType
Data type to be used to interpret the union member of the structure. Values of this member are taken from the ADSTYPE enumeration.
dnStrVal
String identifying the distinguished name (path) of a directory service object defined by type ADS_DN_STRING.
caseExactStrVal
String to be interpreted case-sensitively defined by type ADS_CASE_EXACT_STRING.
caseIgnoreStrVal
String to be intepreted without regard to case defined by type ADS_CASE_IGNORE_STRING.
printableStrVal
Displayable or printable string defined by type ADS_PRINTABLE_STRING.
numericStrVal
Numerals to be interpreted as text defined by type ADS_NUMERIC_STRING.
boolVal
Boolean value defined by type ADS_BOOLEAN.
intVal
Integer value defined by type ADS_INTEGER.
octetStrVal
An octet string defined by type ADS_OCTET_STRING.
utcTimeVal
Time specified as Coordinated Universal Time (UTC) defined by type ADS_UTC_TIME.
largeIntVal
Long integer value defined by type ADS_LARGE_INTEGER.
ClassName
Class name string defined by type ADS_OBJECT_CLASS.
provSpecificVal
Provider-specific structure defined by type ADS_PROV_SPECIFIC.