23 DPRINT(
"RpcServerUseProtseqEpW() failed (Status %lx)\n",
Status);
30 DPRINT(
"RpcServerRegisterIf() failed (Status %lx)\n",
Status);
37 DPRINT(
"RpcServerListen() failed (Status %lx)\n",
Status);
40 DPRINT(
"RpcServerListen finished\n");
52 DPRINT(
"CRrReadCache(%S %p)\n",
53 pwszServerName, ppCacheEntries);
65 DPRINT(
"R_ResolverFlushCache(%S)\n",
80 DPRINT(
"R_ResolverFlushCacheEntry(%S %S %x)\n",
81 pszServerName, pszName, wType);
104 DPRINT(
"R_ResolverQuery(%S %S %x %lx %p %p)\n",
105 pszServerName, pszName, wType,
dwFlags, dwRecords, ppResultRecords);
107 if (pszName ==
NULL || wType == 0 || ppResultRecords ==
NULL)
123 DPRINT(
"DNS cache query!\n");
131 DPRINT(
"DNS cache query!\n");
145 DPRINT(
"DNS query successful!\n");
157 Record = *ppResultRecords;
167 DPRINT(
"R_ResolverQuery result %ld %ld\n",
Status, *dwRecords);
DWORD WINAPI RpcThreadRoutine(LPVOID lpParameter)
DNS_STATUS DnsIntCacheGetEntryByName(LPCWSTR Name, WORD wType, DWORD dwFlags, PDNS_RECORDW *Record)
DNS_STATUS DnsIntCacheGetEntries(_Out_ DNS_CACHE_ENTRY **ppCacheEntries)
DNS_STATUS DnsIntFlushCacheEntry(_In_ LPCWSTR pszName, _In_ WORD wType)
DNS_STATUS DnsIntCacheFlush(_In_ ULONG ulFlags)
VOID DnsIntCacheAddEntry(_In_ PDNS_RECORDW Record, _In_ BOOL bHostsFileEntry)
#define CACHE_FLUSH_NON_HOSTS_FILE_ENTRIES
DWORD __stdcall CRrReadCache(_In_ DNSRSLVR_HANDLE pwszServerName, _Out_ DNS_CACHE_ENTRY **ppCacheEntries)
DWORD __stdcall R_ResolverQuery(_In_ DNSRSLVR_HANDLE pszServerName, _In_ LPCWSTR pszName, _In_ WORD wType, _In_ DWORD dwFlags, _Inout_ DWORD *dwRecords, _Out_ DNS_RECORDW **ppResultRecords)
DWORD __stdcall R_ResolverFlushCache(_In_ DNSRSLVR_HANDLE pszServerName)
void __RPC_USER DNSRSLVR_RPC_HANDLE_rundown(DNSRSLVR_HANDLE hClientHandle)
DWORD __stdcall R_ResolverFlushCacheEntry(_In_ DNSRSLVR_HANDLE pszServerName, _In_ LPCWSTR pszName, _In_ WORD wType)
#define ERROR_INVALID_PARAMETER
#define HeapFree(x, y, z)
DNS_STATUS WINAPI Query_Main(LPCWSTR Name, WORD Type, DWORD Options, PDNS_RECORD *QueryResultSet)
RPC_STATUS WINAPI RpcServerListen(UINT MinimumCallThreads, UINT MaxCalls, UINT DontWait)
RPC_STATUS WINAPI RpcServerRegisterIf(RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV *MgrEpv)
RPC_STATUS WINAPI RpcServerUseProtseqEpW(RPC_WSTR Protseq, UINT MaxCalls, RPC_WSTR Endpoint, LPVOID SecurityDescriptor)
#define RPC_C_LISTEN_MAX_CALLS_DEFAULT
#define midl_user_allocate
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
#define DNS_QUERY_WIRE_ONLY
#define DNS_QUERY_NO_WIRE_QUERY
#define DNS_INFO_NO_RECORDS
_In_ struct _KBUGCHECK_REASON_CALLBACK_RECORD * Record