ADS_DN_WITH_BINARY structure (iads.h)

The ADS_DN_WITH_BINARY structure is used with the ADSVALUE structure to contain a distinguished name attribute value that also contains binary data.

Syntax

typedef struct __MIDL___MIDL_itf_ads_0000_0000_0015 {
  DWORD  dwLength;
  LPBYTE lpBinaryValue;
  LPWSTR pszDNString;
} ADS_DN_WITH_BINARY, *PADS_DN_WITH_BINARY;

Members

dwLength

Contains the length, in bytes, of the binary data in lpBinaryValue.

lpBinaryValue

Pointer to an array of bytes that contains the binary data for the attribute. The dwLength member contains the number of bytes in this array.

pszDNString

Pointer to a null-terminated Unicode string that contains the distinguished name.

Remarks

When extending the active directory schema to add ADS_DN_WITH_BINARY, you must also specify the otherWellKnownGuid attribute definition. Add the following to the ldf file attribute definition: omObjectClass:: KoZIhvcUAQEBCw==

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header iads.h

See also

ADSI Structures

ADSVALUE

Object(DN-Binary)