ldap_msgfree function (winldap.h)

The ldap_msgfree function frees the results obtained from a previous call to ldap_result, or to one of the synchronous search routines.

Syntax

WINLDAPAPI ULONG LDAPAPI ldap_msgfree(
  [in] LDAPMessage *res
);

Parameters

[in] res

The result, or chain of results, to free.

Return value

Returns LDAP_SUCCESS.

Remarks

Call ldap_msgfree to free the result structure pointed to by the res parameter.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header winldap.h
Library Wldap32.lib
DLL Wldap32.dll

See also

Functions

ldap_result

ldap_search_ext_s

ldap_search_s

ldap_search_st