Commit 46626eeb authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

dnsapi: Added DnsQueryEx stub.

parent ff698220
......@@ -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
......
......@@ -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.@]
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment