NAME

ldap_result  (WLDAP32.@)

SYNOPSIS

 ULONG CDECL  ldap_result
 (
  LDAP*             ld,
  ULONG             msgid,
  ULONG             all,
  struct l_timeval* timeout,
  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: ~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.h". https://source.winehq.org/source/include/winldap.h

Implemented in "dlls/wldap32/misc.c". https://source.winehq.org/source/dlls/wldap32/misc.c


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jun 2021.