Module winKernel
[hide private]
[frames] | no frames]

Module winKernel

source code

Classes [hide private]
  SYSTEM_POWER_STATUS
  SECURITY_ATTRIBUTES
  STARTUPINFOW
  STARTUPINFO
  PROCESS_INFORMATION
Functions [hide private]
 
GetStdHandle(handleID) source code
 
CreateFile(fileName, desiredAccess, shareMode, securityAttributes, creationDisposition, flags, templateFile) source code
 
closeHandle(*args) source code
 
GetSystemPowerStatus(sps) source code
 
getThreadLocale() source code
 
GetDateFormat(Locale, dwFlags, lpDate, lpFormat) source code
 
GetTimeFormat(Locale, dwFlags, lpTime, lpFormat) source code
 
openProcess(*args) source code
 
virtualAllocEx(*args) source code
 
virtualFreeEx(*args) source code
 
readProcessMemory(*args) source code
 
writeProcessMemory(*args) source code
 
waitForSingleObject(handle, timeout) source code
 
SetProcessShutdownParameters(level, flags) source code
 
GetExitCodeProcess(process) source code
 
TerminateProcess(process, exitCode) source code
 
GetDriveType(rootPathName) source code
 
CreatePipe(pipeAttributes, size) source code
 
CreateProcessAsUser(token, applicationName, commandLine, processAttributes, threadAttributes, inheritHandles, creationFlags, environment, currentDirectory, startupInfo, processInformation) source code
 
GetCurrentProcess() source code
 
OpenProcessToken(ProcessHandle, DesiredAccess) source code
 
DuplicateHandle(sourceProcessHandle, sourceHandle, targetProcessHandle, desiredAccess, inheritHandle, options) source code
Variables [hide private]
  kernel32 = <WinDLL 'kernel32', handle 756e0000 at 265bb90>
  advapi32 = <WinDLL 'advapi32', handle 76690000 at 26deb10>
  INFINITE = 4294967295
  PROCESS_ALL_ACCESS = 2035711
  PROCESS_TERMINATE = 1
  PROCESS_VM_OPERATION = 8
  PROCESS_VM_READ = 16
  PROCESS_VM_WRITE = 32
  SYNCHRONIZE = 1048576
  PROCESS_QUERY_INFORMATION = 1024
  READ_CONTROL = 131072
  MEM_COMMIT = 4096
  MEM_RELEASE = 32768
  PAGE_READWRITE = 4
  MAXIMUM_ALLOWED = 33554432
  STARTF_USESTDHANDLES = 256
  STD_INPUT_HANDLE = -10
  STD_OUTPUT_HANDLE = -11
  STD_ERROR_HANDLE = -12
  LOCALE_USER_DEFAULT = 2048
  DATE_LONGDATE = 2
  TIME_NOSECONDS = 2
  GENERIC_READ = 2147483648
  GENERIC_WRITE = 1073741824
  FILE_SHARE_READ = 1
  FILE_SHARE_WRITE = 2
  OPEN_EXISTING = 3
  SHUTDOWN_NORETRY = 1
  DRIVE_UNKNOWN = 0
  DRIVE_NO_ROOT_DIR = 1
  DRIVE_REMOVABLE = 2
  DRIVE_FIXED = 3
  DRIVE_REMOTE = 4
  DRIVE_CDROM = 5
  DRIVE_RAMDISK = 6
  DUPLICATE_SAME_ACCESS = 2
  __package__ = None
hash(x)