Pass Multiple Process Creation flags to CreateProcess
问题 I am using CreateProcess and I would like to pass CREATE_SUSPENDED and CREATE_NO_WINDOW as the Process Creation Flags. This is my pinvoke signature: [DllImport("kernel32.dll", SetLastError = true)] private static extern Boolean CreateProcess(String lpApplicationName, String lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, Boolean bInheritHandles, UInt32 dwCreationFlags, IntPtr lpEnvironment, String lpCurrentDirectory, Byte[] lpStartupInfo, out PROCESS_INFORMATION