NAME

ldap_openW  (WLDAP32.@)

SYNOPSIS

 WLDAP32_LDAP * CDECL  ldap_openW
 (
  PWCHAR hostname,
  ULONG  portnumber
 )

DESCRIPTION

Initialize an LDAP context and create a TCP connection.

PARAMS

hostname [In] Name of the host to connect to.
portnumber [In] Portnumber to use.

RETURNS

Success: Pointer to an LDAP context.

Failure: NULL.

NOTES

The hostname string can be a space separated string of hostnames, in which case the LDAP runtime will try to connect to the hosts in order, until a connection can be made. A hostname may have a trailing portnumber (separated from the hostname by a ':'), which will take precedence over the portnumber supplied as a parameter to this function.

IMPLEMENTATION

Defined in "winldap.h".

Implemented in "dlls/wldap32/init.c". source.winehq.org/source/dlls/wldap32/init.c


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