diff --git a/hooklib/dns.c b/hooklib/dns.c index 1dbbc53..b8e58d2 100644 --- a/hooklib/dns.c +++ b/hooklib/dns.c @@ -36,6 +36,8 @@ struct dns_hook_entry { wchar_t *to; }; +/* Hook funcs */ + static DNS_STATUS WINAPI hook_DnsQuery_A( const char *pszName, WORD wType, @@ -57,6 +59,8 @@ static DNS_STATUS WINAPI hook_DnsQueryEx( void *pQueryResults, void *pCancelHandle); +/* Link pointers */ + static DNS_STATUS WINAPI (*next_DnsQuery_A)( const char *pszName, WORD wType,