Scroll to navigation

WLDAP32_ldap_result(3w) Wine API WLDAP32_ldap_result(3w)

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: ~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".
Oct 2012 Wine API