Table of Contents

Method CreateProcess

Namespace
Microsoft.Samples.Debugging.CorDebug.NativeApi
Assembly
raw.dll

CreateProcess(string, string, SECURITY_ATTRIBUTES, SECURITY_ATTRIBUTES, int, uint, IntPtr, string, STARTUPINFO, PROCESS_INFORMATION, CorDebugCreateProcessFlags, out ICorDebugProcess)

void CreateProcess(string lpApplicationName, string lpCommandLine, SECURITY_ATTRIBUTES lpProcessAttributes, SECURITY_ATTRIBUTES lpThreadAttributes, int bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, STARTUPINFO lpStartupInfo, PROCESS_INFORMATION lpProcessInformation, CorDebugCreateProcessFlags debuggingFlags, out ICorDebugProcess ppProcess)

Parameters

lpApplicationName string
lpCommandLine string
lpProcessAttributes SECURITY_ATTRIBUTES
lpThreadAttributes SECURITY_ATTRIBUTES
bInheritHandles int
dwCreationFlags uint
lpEnvironment IntPtr
lpCurrentDirectory string
lpStartupInfo STARTUPINFO
lpProcessInformation PROCESS_INFORMATION
debuggingFlags CorDebugCreateProcessFlags
ppProcess ICorDebugProcess