reenable gdi hooks

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

View File

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