Exemple #1
0
 public static extern bool CreateProcessWithTokenW(
     IntPtr hToken,
     Winbase.LOGON_FLAGS dwLogonFlags,
     string lpApplicationName,
     string lpCommandLine,
     Winbase.CREATION_FLAGS dwCreationFlags,
     IntPtr lpEnvironment,
     string lpCurrentDirectory,
     ref Winbase._STARTUPINFO lpStartupInfo,
     out Winbase._PROCESS_INFORMATION lpProcessInfo
     );
Exemple #2
0
 public static extern Boolean CreateProcessWithLogonW(
     String lpUsername,
     String lpDomain,
     String lpPassword,
     Winbase.LOGON_FLAGS dwLogonFlags,
     String lpApplicationName,
     String lpCommandLine,
     Winbase.CREATION_FLAGS dwCreationFlags,
     IntPtr lpEnvironment,
     String lpCurrentDirectory,
     ref Winbase._STARTUPINFO lpStartupInfo,
     out Winbase._PROCESS_INFORMATION lpProcessInformation
     );