public static extern bool CreateProcessWithTokenW( IntPtr hToken, Execute.Win32.Advapi32.LOGON_FLAGS dwLogonFlags, string lpApplicationName, string lpCommandLine, Execute.Win32.Advapi32.CREATION_FLAGS dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, ref Execute.Win32.ProcessThreadsAPI._STARTUPINFO lpStartupInfo, out Execute.Win32.ProcessThreadsAPI._PROCESS_INFORMATION lpProcessInfo );
public static extern Boolean CreateProcessAsUserW( IntPtr hToken, IntPtr lpApplicationName, IntPtr lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, Boolean bInheritHandles, Execute.Win32.Advapi32.CREATION_FLAGS dwCreationFlags, IntPtr lpEnvironment, IntPtr lpCurrentDirectory, ref Execute.Win32.ProcessThreadsAPI._STARTUPINFO lpStartupInfo, out Execute.Win32.ProcessThreadsAPI._PROCESS_INFORMATION lpProcessInfo );