[DNSAPI] Correct and improve DnsFlushResolverCacheEntry_A() stub. CORE-10912
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 2 Mar 2016 09:58:46 +0000 (09:58 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 2 Mar 2016 09:58:46 +0000 (09:58 +0000)
svn path=/trunk/; revision=70859

reactos/dll/win32/dnsapi/dnsapi.spec
reactos/dll/win32/dnsapi/dnsapi/stubs.c

index 00727b1..7262aaa 100644 (file)
@@ -34,7 +34,7 @@
 @ stdcall DnsExtractRecordsFromMessage_W(ptr long ptr)
 @ stdcall DnsFindAuthoritativeZone()
 @ stdcall DnsFlushResolverCache()
 @ stdcall DnsExtractRecordsFromMessage_W(ptr long ptr)
 @ stdcall DnsFindAuthoritativeZone()
 @ stdcall DnsFlushResolverCache()
-@ stdcall DnsFlushResolverCacheEntry_A()
+@ stdcall DnsFlushResolverCacheEntry_A(str)
 @ stdcall DnsFlushResolverCacheEntry_UTF8()
 @ stdcall DnsFlushResolverCacheEntry_W()
 @ stdcall DnsFreeAdapterInformation()
 @ stdcall DnsFlushResolverCacheEntry_UTF8()
 @ stdcall DnsFlushResolverCacheEntry_W()
 @ stdcall DnsFreeAdapterInformation()
index dd1c7bb..137f164 100644 (file)
@@ -223,11 +223,12 @@ DnsFlushResolverCache()
     return ERROR_OUTOFMEMORY;
 }
 
     return ERROR_OUTOFMEMORY;
 }
 
-DNS_STATUS WINAPI
-DnsFlushResolverCacheEntry_A()
+BOOL WINAPI
+DnsFlushResolverCacheEntry_A(PCSTR entry)
 {
 {
-    UNIMPLEMENTED;
-    return ERROR_OUTOFMEMORY;
+    DPRINT1("DnsFlushResolverCacheEntry_A(%s) is stubplemented.\n", entry);
+    if (!entry) return FALSE;
+    return TRUE;
 }
 
 DNS_STATUS WINAPI
 }
 
 DNS_STATUS WINAPI