Author: akhaldi
Date: Wed Mar 2 09:58:46 2016
New Revision: 70859
URL:
http://svn.reactos.org/svn/reactos?rev=70859&view=rev
Log:
[DNSAPI] Correct and improve DnsFlushResolverCacheEntry_A() stub. CORE-10912
Modified:
trunk/reactos/dll/win32/dnsapi/dnsapi.spec
trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c
Modified: trunk/reactos/dll/win32/dnsapi/dnsapi.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dnsapi/dnsapi.sp…
==============================================================================
--- trunk/reactos/dll/win32/dnsapi/dnsapi.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dnsapi/dnsapi.spec [iso-8859-1] Wed Mar 2 09:58:46 2016
@@ -34,7 +34,7 @@
@ 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()
Modified: trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dnsapi/dnsapi/st…
==============================================================================
--- trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c [iso-8859-1] Wed Mar 2 09:58:46 2016
@@ -223,11 +223,12 @@
return ERROR_OUTOFMEMORY;
}
-DNS_STATUS WINAPI
-DnsFlushResolverCacheEntry_A()
-{
- UNIMPLEMENTED;
- return ERROR_OUTOFMEMORY;
+BOOL WINAPI
+DnsFlushResolverCacheEntry_A(PCSTR entry)
+{
+ DPRINT1("DnsFlushResolverCacheEntry_A(%s) is stubplemented.\n", entry);
+ if (!entry) return FALSE;
+ return TRUE;
}
DNS_STATUS WINAPI