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