Exemplo n.º 1
0
 public static extern bool GetExitCodeThread(SafeMemoryHandle hThread, out IntPtr lpExitCode);
Exemplo n.º 2
0
 public static extern bool TerminateThread(SafeMemoryHandle hThread, int dwExitCode);
Exemplo n.º 3
0
 public static extern WaitValues WaitForSingleObject(SafeMemoryHandle hHandle, uint dwMilliseconds);
Exemplo n.º 4
0
 public static extern int NtQueryInformationProcess(SafeMemoryHandle processHandle, ProcessInformationClass infoclass, ref ProcessBasicInformation processinfo, int length, IntPtr bytesread);
Exemplo n.º 5
0
 public static extern bool CloseHandle(SafeMemoryHandle hObject);
Exemplo n.º 6
0
 public static extern bool FlushInstructionCache(SafeMemoryHandle hProcess, IntPtr lpBaseAddress, long dwSize);
Exemplo n.º 7
0
 public static extern uint GetModuleFileNameEx(SafeMemoryHandle hProcess, IntPtr hModule, [Out] StringBuilder lpBaseName, int nSize);
Exemplo n.º 8
0
 public static extern long VirtualQueryEx(SafeMemoryHandle hProcess, IntPtr lpAddress, out MemoryBasicInformation lpBuffer, int dwLength);
Exemplo n.º 9
0
 public static extern int GetProcessId(SafeMemoryHandle hProcess);
Exemplo n.º 10
0
 public static extern bool VirtualFreeEx(SafeMemoryHandle hProcess, IntPtr lpAddress, long dwSize, MemoryReleaseFlags dwFreeType);
Exemplo n.º 11
0
 public static extern bool VirtualProtectEx(SafeMemoryHandle hProcess, IntPtr lpAddress, long dwSize, MemoryProtectionFlags flNewProtect, out MemoryProtectionFlags lpflOldProtect);
Exemplo n.º 12
0
 public static extern IntPtr VirtualAllocEx(SafeMemoryHandle hProcess, IntPtr lpAddress, long dwSize, MemoryAllocationFlags flAllocationType, MemoryProtectionFlags flProtect);
Exemplo n.º 13
0
 public static extern bool WriteProcessMemory(SafeMemoryHandle hProcess, IntPtr lpBaseAddress, byte[] lpBuffer, long nSize, out long lpNumberOfBytesWritten);
Exemplo n.º 14
0
 public static extern bool ReadProcessMemory(SafeMemoryHandle hProcess, IntPtr lpBaseAddress, [Out] byte[] lpBuffer, long dwSize, out long lpNumberOfBytesRead);
Exemplo n.º 15
0
 public static extern bool IsWow64Process(SafeMemoryHandle hProcess, out bool wow64Process);
Exemplo n.º 16
0
 public static extern int GetThreadId(SafeMemoryHandle hThread);
Exemplo n.º 17
0
 public static extern bool IsWow64Process2(SafeMemoryHandle hProcess, out ImageFileMachine pProcessMachine, out ImageFileMachine pNativeMachine);
Exemplo n.º 18
0
 public static extern SafeMemoryHandle CreateRemoteThread(SafeMemoryHandle hProcess, IntPtr lpThreadAttributes, ulong dwStackSize, IntPtr lpStartAddress, IntPtr lpParameter, ThreadCreationFlags dwCreationFlags, out uint lpThreadId);
Exemplo n.º 19
0
 public static extern bool EnumProcessModulesEx(SafeMemoryHandle hProcess, [Out] IntPtr lphModule, int cb, out int lpcbNeeded, ListModulesFlags dwFilterFlag);
Exemplo n.º 20
0
 public static extern uint ResumeThread(SafeMemoryHandle hThread);
Exemplo n.º 21
0
 public static extern bool GetModuleInformation(SafeMemoryHandle hProcess, IntPtr hModule, [Out] out ModuleInfo lpmodinfo, int cb);
Exemplo n.º 22
0
 public static extern uint SuspendThread(SafeMemoryHandle hThread);
Exemplo n.º 23
0
 public static extern uint NtQueryInformationThread(SafeMemoryHandle threadHandle, uint infoclass, ref ThreadBasicInformation threadinfo, int length, IntPtr bytesread);
Exemplo n.º 24
0
 public static extern uint NtAllocateVirtualMemory(SafeMemoryHandle processHandle, [In, Out] ref IntPtr baseAddress, uint zeroBits, [In, Out] ref IntPtr regionSize, MemoryAllocationFlags allocationType, MemoryProtectionFlags protect);