Export (0) Print
Expand All
Expand Minimize

ber_free function

The ber_free function frees a BerElement structure that was previously allocated with ber_alloc_t, ber_init, or the ldap_first_attribute/ ldap_next_attribute search functions.

Syntax


void ber_free(
  _In_  BerElement *pBerElement,
  _In_  INT fbuf
);

Parameters

pBerElement [in]

Pointer to the BerElement structure to be deallocated.

fbuf [in]

Must be set to 0 if freeing structures allocated by ldap_first_attribute/ ldap_next_attribute, otherwise it must be set to 1.

Return value

None.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Winber.h

Library

Wldap32.lib

DLL

Wldap32.dll

See also

Functions
BerElement
ber_alloc_t

 

 

Show:
© 2014 Microsoft