示例#1
0
 private static extern int CreateProcessA(string lpApplicationName,
                                          string lpCommandLine, IntPtr lpProcessAttributes,
                                          IntPtr lpThreadAttributes, int bInheritHandles,
                                          PROCESSCREATIONFLAGS dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory,
                                          [In] ref STARTUPINFO lpStartupInfo,
                                          out PROCESS_INFORMATION lpProcessInformation);
 private static extern int CreateProcessA(string lpApplicationName,
    string lpCommandLine, IntPtr lpProcessAttributes,
    IntPtr lpThreadAttributes, int bInheritHandles,
    PROCESSCREATIONFLAGS dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory,
    [In] ref STARTUPINFO lpStartupInfo,
    out PROCESS_INFORMATION lpProcessInformation);