[DNSAPI][REACTOS] Add a header for undocumented dnsapi functions and use it in dnsapi.dll

This commit is contained in:
Eric Kohl 2019-10-20 23:13:46 +02:00
parent 4601b11fc9
commit 4455dcb26e
4 changed files with 40 additions and 7 deletions

View file

@ -0,0 +1,30 @@
#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_ */