from ctypes import windll

KERNEL32 = windll.kernel32
PSAPI = windll.psapi
USER32 = windll.user32

STANDARD_RIGHTS_REQUIRED = 0x000F0000
SYNCHRONIZE = 0x00100000
PROCESS_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xFFF
PROCESS_VM_READ = 0x0010
PROCESS_QUERY_INFORMATION = 0x0400

LIST_ALL_MODULES = 0x03