Updates to Message hooking to fix changes in filtering and added new custom filters

This commit is contained in:
Edward Jakubowski
2014-05-28 23:23:15 -04:00
parent da3326a5e4
commit 05748b4582
8 changed files with 56 additions and 21 deletions

View File

@@ -20,7 +20,10 @@ void InitializeMsgLookup(int allowList[], int allowSize)
if (allowList[a] == i)
allowFlg = true;
if (!allowFlg)
{
memset((void *)&MSG_LOOKUP[i], '\0', sizeof(TCHAR) * MAX_MSG_NAME); //blank it
continue;
}
switch (i)
{
case WM_NULL: _tcscpy_s(MSG_LOOKUP[i], _T("WM_NULL")); break;