-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Hi folks,
After trying deviare-inproc, I find it does not work when I use LPHOOK_INFO aHookInfo[] instead of HOOK_INFO aHookInfo[].
And I guess the issue is because of the following line, in CNktHookLib::EnableHook, we should call EnableHookCommon with INTERNALFLAG_HookInfoArrayIsPtr instead of INTERNALFLAG_CallToOriginalIsPtr2Ptr
Deviare-InProc/NktHookLib/Src/NktHookLib.cpp
Lines 377 to 382 in e88b91a
| DWORD CNktHookLib::EnableHook(__in LPHOOK_INFO aHookInfo[], __in SIZE_T nCount, __in BOOL bEnable) | |
| { | |
| return EnableHookCommon(aHookInfo, nCount, bEnable, INTERNALFLAG_CallToOriginalIsPtr2Ptr); | |
| } | |
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels