ldap_memfree (Windows CE 5.0)

Send Feedback

This function frees memory that was allocated from the LDAP heap.

VOID ldap_memfree(UNICODE PTCHARBlock);

Parameters

  • Block
    [in] Pointer to memory allocated by the LDAP library.

Return Values

None.

Remarks

Call this function to free strings, such as the attribute names returned by ldap_*_attribute, or distinguished names returned by ldap_get_dn. Do not free the static buffers used by ldap_open, ldap_get_values, and others.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Winldap.h.
Link Library: Wldap32.lib.

See Also

ldap_get_dn | ldap_get_values | ldap_open

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.