WLDAP32_ldap_result(3w)

WLDAP32_ldap_result3w

Usage

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

Overview

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: ~0u.

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

Declared in "winldap_private.h".

Implemented in "dlls/wldap32/misc.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.