Platform SDK: Active Directory, ADSI, and Directory Services

BerElement

A BerElement structure is a C++ class object that does basic encoding rules (BER) encoding.

typedef struct berElement 
{
  PCHAR   opaque; 
} BerElement;

Members

There are no client-accessible fields in this structure.

Remarks

This is an opaque data structure that the ldap_first_attribute function allocates and returns to indicate the current position during a traversal of an attribute list. Pass the pointer to this structure to the ldap_next_attribute function. Note that you do not free the memory associated with this structure or its pointer when the BerElement is no longer needed.

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, ldap_first_attribute, ldap_next_attribute