ldap_parse_resultW.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

ldap_parse_resultW (WLDAP32.@)

SYNOPSIS

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

DESCRIPTION

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

Defined in "winldap_private.h".

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