reenable gdi hooks

This commit is contained in:
Akash Mozumdar 2018-06-03 14:50:55 -04:00
parent a1962865f8
commit 4e373df13b

View File

@ -357,8 +357,10 @@ DWORD TextHook::UnsafeSend(DWORD dwDataBase, DWORD dwRetn)
hp.filter_fun = NoAsciiFilter; hp.filter_fun = NoAsciiFilter;
// jichi 10/24/2014: Skip GDI functions // jichi 10/24/2014: Skip GDI functions
if (!::gdi_hook_enabled_ && ::IsGDIFunction((LPCVOID)hp.address)) // Artikash 6/3/2018: why??
return 0; // Artikash 6/3/2018: Reenable GDI functions
//if (!::gdi_hook_enabled_ && ::IsGDIFunction((LPCVOID)hp.address))
// return 0;
dwAddr = hp.address; dwAddr = hp.address;