mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:13:01 +00:00
[DNSAPI][DNSRSLVR] Implement DnsGetCacheDataTable()
This commit is contained in:
parent
6499cf9e1a
commit
6c7878f35e
7 changed files with 124 additions and 14 deletions
|
@ -28,7 +28,11 @@ typedef [handle, string] LPWSTR DNSRSLVR_HANDLE;
|
|||
interface DnsResolver
|
||||
{
|
||||
/* Function: 0x00 */
|
||||
/* CRrReadCache */
|
||||
DWORD
|
||||
__stdcall
|
||||
CRrReadCache(
|
||||
[in, unique, string] DNSRSLVR_HANDLE pwszServerName,
|
||||
[out] DNS_CACHE_ENTRY **ppCacheEntries);
|
||||
|
||||
/* Function: 0x01 */
|
||||
/* CRrReadCacheEntry */
|
||||
|
@ -56,10 +60,10 @@ interface DnsResolver
|
|||
__stdcall
|
||||
R_ResolverQuery(
|
||||
[in, unique, string] DNSRSLVR_HANDLE pwszServerName,
|
||||
[in, unique, string] LPCWSTR pwsName,
|
||||
[in] WORD wType,
|
||||
[in] DWORD Flags,
|
||||
[in, out] DWORD *dwRecords,
|
||||
[in, unique, string] LPCWSTR pwsName,
|
||||
[in] WORD wType,
|
||||
[in] DWORD Flags,
|
||||
[in, out] DWORD *dwRecords,
|
||||
[out] DNS_RECORDW **ppResultRecords);
|
||||
|
||||
/* Function: 0x08 */
|
||||
|
|
|
@ -8,7 +8,11 @@ extern "C" {
|
|||
typedef struct _DNS_CACHE_ENTRY
|
||||
{
|
||||
struct _DNS_CACHE_ENTRY *pNext; /* Pointer to next entry */
|
||||
#if defined(__midl) || defined(__WIDL__)
|
||||
[string] PWSTR pszName; /* DNS Record Name */
|
||||
#else
|
||||
PWSTR pszName; /* DNS Record Name */
|
||||
#endif
|
||||
unsigned short wType1; /* DNS Record Type 1 */
|
||||
unsigned short wType2; /* DNS Record Type 2 */
|
||||
unsigned short wFlags; /* DNS Record Flags */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue