Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure is used to represent arbitrary binary data that is encoded according to basic encoding rules (BER). Use this structure to represent any attribute that cannot be represented by a null-terminated string.

Syntax

typedef struct berval {
  ULONG 
bv_len;
  UNICODE PTCHAR 
bv_val;
} LDAP_BERVAL, *PLDAP_BERVAL, BERVAL, *PBERVAL;

Members

bv_len

Length of binary data in bytes.

bv_val

Pointer to the binary data.

Remarks

Use this structure for attributes that contain raw binary data, such as certificates, graphics, or sound files.

Requirements

Header winldap.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later