[DNSAPI] Correct and improve DnsFlushResolverCacheEntry_A() stub. CORE-10912

svn path=/trunk/; revision=70859
This commit is contained in:
Amine Khaldi 2016-03-02 09:58:46 +00:00
parent 778b819070
commit c685be6a9e
2 changed files with 6 additions and 5 deletions

View file

@ -34,7 +34,7 @@
@ stdcall DnsExtractRecordsFromMessage_W(ptr long ptr) @ stdcall DnsExtractRecordsFromMessage_W(ptr long ptr)
@ stdcall DnsFindAuthoritativeZone() @ stdcall DnsFindAuthoritativeZone()
@ stdcall DnsFlushResolverCache() @ stdcall DnsFlushResolverCache()
@ stdcall DnsFlushResolverCacheEntry_A() @ stdcall DnsFlushResolverCacheEntry_A(str)
@ stdcall DnsFlushResolverCacheEntry_UTF8() @ stdcall DnsFlushResolverCacheEntry_UTF8()
@ stdcall DnsFlushResolverCacheEntry_W() @ stdcall DnsFlushResolverCacheEntry_W()
@ stdcall DnsFreeAdapterInformation() @ stdcall DnsFreeAdapterInformation()

View file

@ -223,11 +223,12 @@ DnsFlushResolverCache()
return ERROR_OUTOFMEMORY; return ERROR_OUTOFMEMORY;
} }
DNS_STATUS WINAPI BOOL WINAPI
DnsFlushResolverCacheEntry_A() DnsFlushResolverCacheEntry_A(PCSTR entry)
{ {
UNIMPLEMENTED; DPRINT1("DnsFlushResolverCacheEntry_A(%s) is stubplemented.\n", entry);
return ERROR_OUTOFMEMORY; if (!entry) return FALSE;
return TRUE;
} }
DNS_STATUS WINAPI DNS_STATUS WINAPI