mirror of
https://github.com/n1nj4sec/pupy.git
synced 2025-02-24 09:58:17 +00:00
Fix typo
This commit is contained in:
parent
80123685e7
commit
e2344bcd9c
@ -13,10 +13,10 @@ GetLastInputInfo = windll.user32.GetLastInputInfo
|
|||||||
if hasattr(windll.kernel32, 'GetTickCount64'):
|
if hasattr(windll.kernel32, 'GetTickCount64'):
|
||||||
from ctypes import c_ulonglong
|
from ctypes import c_ulonglong
|
||||||
GetTickCount = windll.kernel32.GetTickCount64
|
GetTickCount = windll.kernel32.GetTickCount64
|
||||||
GetTickCount.reestype = c_ulonglong
|
GetTickCount.restype = c_ulonglong
|
||||||
else:
|
else:
|
||||||
GetTickCount = windll.kernel32.GetTickCount
|
GetTickCount = windll.kernel32.GetTickCount
|
||||||
GetTickCount.reestype = c_uint
|
GetTickCount.restype = c_uint
|
||||||
|
|
||||||
def get_gui_idle(display=None):
|
def get_gui_idle(display=None):
|
||||||
lastInputInfo = LASTINPUTINFO()
|
lastInputInfo = LASTINPUTINFO()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user