LDAP_BERVAL structure (winldap.h)

The berval structure represents arbitrary binary data that is encoded according to Basic Encoding Rules (BER). Use a berval to represent any attribute that cannot be represented by a null-terminated string.

Syntax

typedef struct berval {
  ULONG bv_len;
  PCHAR bv_val;
} LDAP_BERVAL, *PLDAP_BERVAL, BERVAL, *PBERVAL, BerValue;

Members

bv_len

Length, in bytes, of binary data.

bv_val

Pointer to the binary data.

Remarks

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

Requirements

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

See also

Data Structures