ldap_msgfree (Windows CE 5.0)

Send Feedback

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

ULONG ldap_msgfree(LDAPMessage* res);

Parameters

  • res
    [in] Result or chain of results to free.

Return Values

If this function succeeds, it returns a constant to indicate the type of message freed. The following table shows the possible return values.

Return value
LDAP_RES_ADD
LDAP_RES_BIND
LDAP_RES_COMPARE
LDAP_RES_DELETE
LDAP_RES_EXTENDED
LDAP_RES_MODDN
LDAP_RES_MODIFY
LDAP_RES_SEARCH_ENTRY
LDAP_RES_SEARCH_REFERENCE
LDAP_RES_SEARCH_RESULT

Remarks

Call this function to free the result structure pointed to by the res parameter. The return value indicates the type of result freed.

Requirements

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

See Also

ldap_result

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.