| Platform SDK: Active Directory, ADSI, and Directory Services | 
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;
Use a berval structure for attributes that contain raw binary data, such as certificates, graphics, or sound files.
  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.