WLDAP32_ldap_result.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

WLDAP32_ldap_result (WLDAP32.@)

SYNOPSIS

ULONG CDECL WLDAP32_ldap_result
 (
  WLDAP32_LDAP*         ld,
  ULONG                 msgid,
  ULONG                 all,
  struct l_timeval*     timeout,
  WLDAP32_LDAPMessage** res
 )

DESCRIPTION

Get the result of an asynchronous operation.

PARAMS

ld [In] Pointer to an LDAP context.

msgid [In] Message Id of the operation.

all [In] How many results should be returned?.

timeout [In] How long to wait for the results?.

res [Out] Result message for the operation.

RETURNS

Success: One of the following values:

LDAP_RES_ADD LDAP_RES_BIND LDAP_RES_COMPARE LDAP_RES_DELETE LDAP_RES_EXTENDED LDAP_RES_MODIFY LDAP_RES_MODRDN LDAP_RES_REFERRAL LDAP_RES_SEARCH_ENTRY LDAP_RES_SEARCH_RESULT.

Failure: ~0UL.

This function returns 0 when the timeout has expired.

NOTES

A NULL timeout pointer causes the function to block waiting for results to arrive. A timeout value of 0 causes the function to immediately return any available results. Free returned results with ldap_msgfree.

IMPLEMENTATION

Defined in "winldap_private.h".

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