Exemplo n.º 1
0
 public static extern Win32Bool CreateProcess(
     string lpApplicationName,
     char[] lpCommandLine,
     IntPtr lpProcessAttributes,
     IntPtr lpThreadAttributes,
     int bInheritHandles,
     uint dwCreationFlags,
     char[] lpEnvironment,
     string lpCurrentDirectory,
     ref StartupInfo lpStartupInfo,
     ref Process_Information lpProcessInformation);
Exemplo n.º 2
0
 public static extern Win32Bool CreateProcess(
   string lpApplicationName,
   char[] lpCommandLine,
   IntPtr lpProcessAttributes,
   IntPtr lpThreadAttributes,
   int bInheritHandles,
   uint dwCreationFlags,
   char[] lpEnvironment,
   string lpCurrentDirectory,
   ref StartupInfo lpStartupInfo,
   ref Process_Information lpProcessInformation);
Exemplo n.º 3
0
 public static extern bool CreateProcessAsUser(
     IntPtr hToken,
     string lpApplicationName,
     string lpCommandLine,
     ref SecurityAttributes lpProcessAttributes,
     ref SecurityAttributes lpThreadAttributes,
     bool bInheritHandle,
     Int32 dwCreationFlags,
     IntPtr lpEnvrionment,
     string lpCurrentDirectory,
     ref StartUpInfo lpStartupInfo,
     ref Process_Information lpProcessInformation);
Exemplo n.º 4
0
 public static extern bool CreateProcessAsUser(IntPtr hToken, String lpApplicationName, String lpCommandLine, ref Security_attributes lpProcessAttributes,
     ref Security_attributes lpThreadAttributes, bool bInheritHandle, int dwCreationFlags, IntPtr lpEnvironment,
     String lpCurrentDirectory, ref StartupInfo lpStartupInfo, out Process_Information lpProcessInformation);