Table of Contents

Method CreateProcess

Namespace
Microsoft.Samples.Debugging.Native
Assembly
NativeDebugWrappers.dll

CreateProcess(string, string, IntPtr, IntPtr, bool, CreateProcessFlags, IntPtr, string, STARTUPINFO, PROCESS_INFORMATION)

public static extern bool CreateProcess(string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, NativeMethods.CreateProcessFlags dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, STARTUPINFO lpStartupInfo, PROCESS_INFORMATION lpProcessInformation)

Parameters

lpApplicationName string
lpCommandLine string
lpProcessAttributes IntPtr
lpThreadAttributes IntPtr
bInheritHandles bool
dwCreationFlags NativeMethods.CreateProcessFlags
lpEnvironment IntPtr
lpCurrentDirectory string
lpStartupInfo STARTUPINFO
lpProcessInformation PROCESS_INFORMATION

Returns

bool