private static extern int CreateProcessAsUser(IntPtr token, string applicationName, StringBuilder commandLine,
                                               IntPtr processAttributes, IntPtr threadAttributes,
                                               bool inheritHandles, CreationFlags creationFlags,
                                               IntPtr environment, string currentDirectory,
                                               ref StartupInfo startupInfo,
                                               out ProcessInformation processInformation);
Beispiel #2
0
 private static extern int CreateProcessAsUser(IntPtr token, string applicationName, StringBuilder commandLine,
                                               IntPtr processAttributes, IntPtr threadAttributes,
                                               bool inheritHandles, CreationFlags creationFlags,
                                               IntPtr environment, string currentDirectory,
                                               ref StartupInfo startupInfo,
                                               out ProcessInformation processInformation);