58 TRACE(
"(%p, 0x%08x)\n", ld, msgid );
79 TRACE(
"(%p, %s, %p, %p, %p, %p)\n", ld,
debugstr_a(oid),
data, serverctrls,
89 serverctrlsW = controlarrayAtoW( serverctrls );
90 if (!serverctrlsW)
goto exit;
93 clientctrlsW = controlarrayAtoW( clientctrls );
94 if (!clientctrlsW)
goto exit;
101 controlarrayfreeW( serverctrlsW );
102 controlarrayfreeW( clientctrlsW );
143 TRACE(
"(%p, %s, %p, %p, %p, %p)\n", ld,
debugstr_w(oid),
data, serverctrls,
150 if (!oidU)
goto exit;
153 serverctrlsU = controlarrayWtoU( serverctrls );
154 if (!serverctrlsU)
goto exit;
157 clientctrlsU = controlarrayWtoU( clientctrls );
158 if (!clientctrlsU)
goto exit;
162 serverctrlsU, clientctrlsU, (
int *)
message ));
166 controlarrayfreeU( serverctrlsU );
167 controlarrayfreeU( clientctrlsU );
189 TRACE(
"(%p, %s, %p, %p, %p, %p, %p)\n", ld,
debugstr_a(oid),
data, serverctrls,
190 clientctrls, retoid, retdata );
196 if (!oidW)
goto exit;
199 serverctrlsW = controlarrayAtoW( serverctrls );
200 if (!serverctrlsW)
goto exit;
203 clientctrlsW = controlarrayAtoW( clientctrls );
204 if (!clientctrlsW)
goto exit;
210 if (retoid && retoidW) {
218 controlarrayfreeW( serverctrlsW );
219 controlarrayfreeW( clientctrlsW );
260 TRACE(
"(%p, %s, %p, %p, %p, %p, %p)\n", ld,
debugstr_w(oid),
data, serverctrls,
261 clientctrls, retoid, retdata );
267 if (!oidU)
goto exit;
270 serverctrlsU = controlarrayWtoU( serverctrls );
271 if (!serverctrlsU)
goto exit;
274 clientctrlsU = controlarrayWtoU( clientctrls );
275 if (!clientctrlsU)
goto exit;
279 clientctrlsU, &retoidU, (
struct berval **)retdata ));
281 if (retoid && retoidU) {
289 controlarrayfreeU( serverctrlsU );
290 controlarrayfreeU( clientctrlsU );
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static UINT map_error(DWORD error)
void CDECL ldap_memfreeW(PWCHAR block)
ULONG CDECL ldap_extended_operationA(WLDAP32_LDAP *ld, PCHAR oid, struct WLDAP32_berval *data, PLDAPControlA *serverctrls, PLDAPControlA *clientctrls, ULONG *message)
ULONG CDECL ldap_extended_operation_sA(WLDAP32_LDAP *ld, PCHAR oid, struct WLDAP32_berval *data, PLDAPControlA *serverctrls, PLDAPControlA *clientctrls, PCHAR *retoid, struct WLDAP32_berval **retdata)
ULONG CDECL ldap_extended_operationW(WLDAP32_LDAP *ld, PWCHAR oid, struct WLDAP32_berval *data, PLDAPControlW *serverctrls, PLDAPControlW *clientctrls, ULONG *message)
ULONG CDECL ldap_close_extended_op(WLDAP32_LDAP *ld, ULONG msgid)
ULONG CDECL ldap_extended_operation_sW(WLDAP32_LDAP *ld, PWCHAR oid, struct WLDAP32_berval *data, PLDAPControlW *serverctrls, PLDAPControlW *clientctrls, PWCHAR *retoid, struct WLDAP32_berval **retdata)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static LPWSTR strAtoW(const char *str)
#define ldap_extended_operation
#define ldap_extended_operation_s
@ WLDAP32_LDAP_PARAM_ERROR
@ WLDAP32_LDAP_NOT_SUPPORTED
static LPSTR strWtoA(LPCWSTR str)
static void strfreeU(char *str)
static void strfreeW(LPWSTR str)
static char * strWtoU(LPCWSTR str)
static LPWSTR strUtoW(char *str)