Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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