@ stdcall DnsFreeNetworkInformation()
@ stdcall DnsFreeSearchInformation()
@ stdcall DnsGetBufferLengthForStringCopy()
-@ stdcall DnsGetCacheDataTable()
+@ stdcall DnsGetCacheDataTable(ptr)
@ stdcall DnsGetDnsServerList()
@ stdcall DnsGetDomainName()
@ stdcall DnsGetHostName_A()
#include <winbase.h>
#include <winnls.h>
#include <windns.h>
+#include <reactos/windns_undoc.h>
#define NTOS_MODE_USER
#include <ndk/rtlfuncs.h>
return ERROR_OUTOFMEMORY;
}
-DNS_STATUS WINAPI
-DnsFlushResolverCache()
+BOOL WINAPI
+DnsFlushResolverCache(VOID)
{
UNIMPLEMENTED;
- return ERROR_OUTOFMEMORY;
+ return TRUE;
}
BOOL WINAPI
return ERROR_OUTOFMEMORY;
}
-DNS_STATUS WINAPI
-DnsGetCacheDataTable()
+BOOL
+WINAPI
+DnsGetCacheDataTable(
+ _Out_ PDNSCACHEENTRY *DnsCache)
{
UNIMPLEMENTED;
- return ERROR_OUTOFMEMORY;
+ return TRUE;
}
DNS_STATUS WINAPI
--- /dev/null
+#ifndef _WINDNS_UNDOC_H_
+#define _WINDNS_UNDOC_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct _DNS_CACHE_ENTRY
+{
+ struct _DNS_CACHE_ENTRY *pNext; /* Pointer to next entry */
+ PWSTR pszName; /* DNS Record Name */
+ unsigned short wType; /* DNS Record Type */
+ unsigned short wUnknown; /* Unknown */
+ unsigned short wFlags; /* DNS Record Flags */
+} DNSCACHEENTRY, *PDNSCACHEENTRY;
+
+BOOL
+WINAPI
+DnsFlushResolverCache(VOID);
+
+BOOL
+WINAPI
+DnsGetCacheDataTable(
+ _Out_ PDNSCACHEENTRY *DnsCache);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _WINDNS_UNDOC_H_ */