Beispiel #1
0
 public static extern Boolean CreateProcessWithTokenW(
     IntPtr hToken,
     Enums.LOGON_FLAGS dwLogonFlags,
     IntPtr lpApplicationName,
     IntPtr lpCommandLine,
     Enums.CREATION_FLAGS dwCreationFlags,
     IntPtr lpEnvironment,
     IntPtr lpCurrentDirectory,
     ref Structs._STARTUPINFO lpStartupInfo,
     out Structs._PROCESS_INFORMATION lpProcessInfo
     );
Beispiel #2
0
 public static extern Boolean CreateProcessAsUserW(
     IntPtr hToken,
     IntPtr lpApplicationName,
     IntPtr lpCommandLine,
     IntPtr lpProcessAttributes,
     IntPtr lpThreadAttributes,
     Boolean bInheritHandles,
     Enums.CREATION_FLAGS dwCreationFlags,
     IntPtr lpEnvironment,
     IntPtr lpCurrentDirectory,
     ref Structs._STARTUPINFO lpStartupInfo,
     out Structs._PROCESS_INFORMATION lpProcessInfo
     );