dnsapi: Added DnsQueryEx stub.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2015-10-30 19:22:50 +01:00 committed by Alexandre Julliard
parent ff698220c1
commit 46626eebd5
2 changed files with 22 additions and 1 deletions

View File

@ -79,7 +79,7 @@
@ stub DnsNotifyResolver
@ stdcall DnsQuery_A(str long long ptr ptr ptr)
@ stdcall DnsQueryConfig(long long wstr ptr ptr ptr)
@ stub DnsQueryEx
@ stdcall DnsQueryEx(ptr ptr ptr)
@ stdcall DnsQuery_UTF8(str long long ptr ptr ptr)
@ stdcall DnsQuery_W(wstr long long ptr ptr ptr)
@ stub DnsRecordBuild_UTF8

View File

@ -641,6 +641,27 @@ exit:
#endif /* HAVE_RESOLV */
static const char *debugstr_query_request(const DNS_QUERY_REQUEST *req)
{
if (!req)
return "(null)";
return wine_dbg_sprintf("{%d %s %s %x%08x %p %d %p %p}", req->Version,
debugstr_w(req->QueryName), dns_type_to_str(req->QueryType),
(UINT32)(req->QueryOptions>>32u), (UINT32)req->QueryOptions, req->pDnsServerList,
req->InterfaceIndex, req->pQueryCompletionCallback, req->pQueryContext);
}
/******************************************************************************
* DnsQueryEx [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsQueryEx(DNS_QUERY_REQUEST *request, DNS_QUERY_RESULT *result, DNS_QUERY_CANCEL *cancel)
{
FIXME("(%s %p %p)\n", debugstr_query_request(request), result, cancel);
return DNS_ERROR_RCODE_NOT_IMPLEMENTED;
}
/******************************************************************************
* DnsQuery_A [DNSAPI.@]
*