Re: dnsapi.dll.DnsFlushResolverCache crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 25, 2009 at 12:43 PM, RUMI Szabolcs<rumi_ml@xxxxxxx> 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


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux