.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH cldap_openW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBcldap_openW\fR (WLDAP32.@) .SH SYNOPSIS WLDAP32_LDAP * CDECL cldap_openW ( PWCHAR \fIhostname\fR, ULONG \fIportnumber\fR ) .SH DESCRIPTION .PP Initialize an \fBLDAP\fR context and create a \fBUDP\fR connection. .SH PARAMS \fIhostname\fR \fB[In]\fR Name of the host to connect to. .PP \fIportnumber\fR \fB[In]\fR Port number to use. .PP .SH RETURNS .PP \fBSuccess:\fR Pointer to an \fBLDAP\fR context. .PP \fBFailure:\fR \fBNULL\fR. .SH NOTES .PP The \fIhostname\fR string can be a space separated string of hostnames, in which case the \fBLDAP\fR runtime will try to connect to the hosts in order, until a connection can be made. A \fIhostname\fR may have a trailing port number (separated from the \fIhostname\fR by a \fB':'\fR), which will take precedence over the port number supplied as a parameter to this function. .SH IMPLEMENTATION .PP Declared in \fB"winldap_private.h"\fR. .PP Implemented in \fB"dlls/wldap32/init.c"\fR.