public static extern Boolean CreateProcessWithTokenW( IntPtr hToken, LOGON_FLAGS dwLogonFlags, IntPtr lpApplicationName, IntPtr lpCommandLine, CREATION_FLAGS dwCreationFlags, IntPtr lpEnvironment, IntPtr lpCurrentDirectory, ref ProcessThreadsAPI._STARTUPINFO lpStartupInfo, out ProcessThreadsAPI._PROCESS_INFORMATION lpProcessInfo );
public static extern bool CreateProcessWithLogonW( String userName, String domain, String password, int logonFlags, String applicationName, String commandLine, int creationFlags, IntPtr environment, String currentDirectory, ref ProcessThreadsAPI._STARTUPINFO startupInfo, out ProcessThreadsAPI._PROCESS_INFORMATION processInformation );
public static extern Boolean CreateProcessAsUserW( IntPtr hToken, IntPtr lpApplicationName, IntPtr lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, Boolean bInheritHandles, CREATION_FLAGS dwCreationFlags, IntPtr lpEnvironment, IntPtr lpCurrentDirectory, ref ProcessThreadsAPI._STARTUPINFO lpStartupInfo, out ProcessThreadsAPI._PROCESS_INFORMATION lpProcessInfo );