Allow dns hook to fail a resolve and add domains

This lets people with crap ISPs that resolve domains
that they shouldn't to use the game without
changing their DNS server
This commit is contained in:
Will Toohey
2019-11-17 15:08:25 +10:00
parent 5ab159c972
commit e15a61a7d0
3 changed files with 46 additions and 5 deletions

View File

@ -4,5 +4,6 @@
#include <stddef.h>
// if to_src is NULL, all lookups for from_src will fail
HRESULT dns_hook_push(const wchar_t *from_src, const wchar_t *to_src);