Table of Contents

Class NativeMethods

Namespace
Microsoft.Samples.Debugging.Native
Assembly
NativeDebugWrappers.dll
public static class NativeMethods
Inheritance
NativeMethods

Methods

CloseHandle(IntPtr)
ContinueDebugEvent(uint, uint, ContinueStatus)
CreateFileMapping(SafeFileHandle, IntPtr, PageProtection, uint, uint, string)
CreateProcess(string, string, IntPtr, IntPtr, bool, CreateProcessFlags, IntPtr, string, STARTUPINFO, PROCESS_INFORMATION)
DebugActiveProcess(uint)
DebugActiveProcessStop(uint)
DebugBreakProcess(IntPtr)
DebugSetProcessKillOnExit(bool)
GetCurrentThreadId()
GetFileSizeEx(IntPtr, out long)
GetModuleInformation(IntPtr, IntPtr, out ModuleInfo, uint)
GetSystemInfo(out SYSTEM_INFO)
GetThreadContext(IntPtr, IntPtr)
IsWow64Process(SafeWin32Handle, ref bool)
MapViewOfFile(SafeWin32Handle, uint, uint, uint, IntPtr)
OpenProcess(int, bool, int)
OpenThread(ThreadAccess, bool, uint)
ReadProcessMemory(IntPtr, IntPtr, byte[], UIntPtr, out int)
SetEvent(SafeWin32Handle)
SetThreadContext(IntPtr, IntPtr)
TerminateProcess(IntPtr, uint)
UnmapViewOfFile(IntPtr)
WaitForDebugEvent32(ref DebugEvent32, int)
WaitForDebugEvent64(ref DebugEvent64, int)
WaitForSingleObject(IntPtr, uint)