Example #1
0
 public static extern bool CreateProcess(string lpApplicationName, string lpCommandLine,
     SECURITY_ATTRIBUTES lpProcessAttributes, SECURITY_ATTRIBUTES lpThreadAttributes, bool bInheritHandles,
     int dwCreationFlags, string lpEnvironment, string lpCurrentDirectory, ref STARTUPINFO lpStartupInfo,
     ref PROCESS_INFORMATION lpProcessInformation);
Example #2
0
 public static extern bool CreateProcess(string lpApplicationName, string lpCommandLine,
                                         SECURITY_ATTRIBUTES lpProcessAttributes, SECURITY_ATTRIBUTES lpThreadAttributes, bool bInheritHandles,
                                         int dwCreationFlags, string lpEnvironment, string lpCurrentDirectory, ref STARTUPINFO lpStartupInfo,
                                         ref PROCESS_INFORMATION lpProcessInformation);
Example #3
0
 public static extern bool CreatePipe(ref IntPtr hReadPipe, ref IntPtr hWritePipe,
     SECURITY_ATTRIBUTES lpPipeAttributes, int nSize);
Example #4
0
 public static extern bool CreatePipe(ref IntPtr hReadPipe, ref IntPtr hWritePipe,
                                      SECURITY_ATTRIBUTES lpPipeAttributes, int nSize);