Platform SDK: Active Directory, ADSI, and Directory Services

berval

The berval structure is used to represent 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.

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

Members

bv_len
Length of binary data in bytes.
bv_val
A 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

  Windows NT/2000: Requires Windows NT 4.0 SP4 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in Winldap.h.

See Also

Data Structures