ldap_parse_resultW(3w)

ldap_parse_resultW3w

Usage

ULONG CDECL ldap_parse_resultW
(
WLDAP32_LDAP* ld,
WLDAP32_LDAPMessage* result,
ULONG* retcode,
PWCHAR* matched,
PWCHAR* error,
PWCHAR** referrals,
PLDAPControlW** serverctrls,
BOOLEAN free
)

Overview

Parse a result message.

Params

ld [In] Pointer to an LDAP context.

result [In] Result message.

retcode [Out] Return code for the server operation.

matched [Out] DNs matched in the operation.

error [Out] Error message for the operation.

referrals [Out] Referrals found in the result message.

serverctrls [Out] Controls used in the operation.

free [In] Free the result message?.

Returns

Success: LDAP_SUCCESS

Failure: An LDAP error code.

Notes

Free the DNs and error message with ldap_memfree. Free the referrals with ldap_value_free and the controls with ldap_controls_free. Pass a nonzero value for 'free' or call ldap_msgfree to free the result message.

Implementation

Declared in "winldap_private.h".

Implemented in "dlls/wldap32/parse.c".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.