[Wine] dnsapi.dll.DnsFlushResolverCache crash

Austin English austinenglish at gmail.com
Tue Aug 25 13:43:32 CDT 2009


On Tue, Aug 25, 2009 at 12:43 PM, RUMI Szabolcs<rumi_ml at rtfm.hu> wrote:
> Hello!
>
> Is there any hope to get at least a stub for this in the near future?
>
> wine: Call from 0x7edd152f to unimplemented function dnsapi.dll.DnsFlushResolverCache, aborting

In the future, you should file a bug for things like this, not post on
the forum.

Try:

diff --git a/dlls/dnsapi/dnsapi.spec b/dlls/dnsapi/dnsapi.spec
index bdc340a..bb14f4b 100644
--- a/dlls/dnsapi/dnsapi.spec
+++ b/dlls/dnsapi/dnsapi.spec
@@ -31,7 +31,7 @@
 @ stdcall DnsExtractRecordsFromMessage_UTF8(ptr long ptr)
 @ stdcall DnsExtractRecordsFromMessage_W(ptr long ptr)
 @ stub DnsFindAuthoritativeZone
-@ stub DnsFlushResolverCache
+@ stdcall DnsFlushResolverCache()
 @ stub DnsFlushResolverCacheEntry_A
 @ stub DnsFlushResolverCacheEntry_UTF8
 @ stub DnsFlushResolverCacheEntry_W
diff --git a/dlls/dnsapi/main.c b/dlls/dnsapi/main.c
index 0c5020a..1889552 100644
--- a/dlls/dnsapi/main.c
+++ b/dlls/dnsapi/main.c
@@ -90,6 +90,16 @@ DNS_STATUS WINAPI DnsAcquireContextHandle_W( DWORD
flags, PVOID cred,
 }

 /******************************************************************************
+ * DnsFlushResolverCache               [DNSAPI.@]
+ *
+ */
+VOID WINAPI DnsFlushResolverCache(void)
+{
+    FIXME(": stub\n");
+}
+
+
+/******************************************************************************
  * DnsReleaseContextHandle                [DNSAPI.@]
  *
  */

-- 
-Austin



More information about the wine-users mailing list