Reference

ldap_search_stW(3w)

NAME

ldap_search_stW (WLDAP32.@)

SYNOPSIS

ULONG CDECL ldap_search_stW
(
WLDAP32_LDAP* ld,
const PWCHAR base,
ULONG scope,
const PWCHAR filter, PWCHAR attrs[] ULONG attrsonly,
struct l_timeval* timeout,
WLDAP32_LDAPMessage** res
)

DESCRIPTION

Search a directory tree (synchronous operation).

PARAMS

ld [In] Pointer to an LDAP context.

base [In] Starting point for the search.

scope [In] Search scope. One of LDAP_SCOPE_BASE, LDAP_SCOPE_ONELEVEL and LDAP_SCOPE_SUBTREE.

filter [In] Search filter.

attrs [In] Attributes to return.

attrsonly [In] Return no values, only attributes.

timeout [In] Timeout in seconds.

res [Out] Results of the search operation.

RETURNS

Success: LDAP_SUCCESS

Failure: An LDAP error code.

NOTES

Call ldap_msgfree to free the results.

IMPLEMENTATION

Declared in "winldap_private.h".

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

History