コード例 #1
0
 public static extern bool CreateProcessAsUser(
     IntPtr hToken,
     string lpApplicationName,
     string lpCommandLine,
     ref SECURITY_ATTRIBUTES lpProcessAttributes,
     ref SECURITY_ATTRIBUTES lpThreadAttributes,
     bool bInheritHandles,
     uint dwCreationFlags,
     IntPtr lpEnvironment,
     string lpCurrentDirectory,
     ref DeepDarkWin32Fantasy.STARTUPINFO lpStartupInfo,
     out DeepDarkWin32Fantasy.PROCESS_INFORMATION lpProcessInformation);
コード例 #2
0
 public static extern Boolean CreateProcessAsUserA(IntPtr hToken, string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, int dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, ref DeepDarkWin32Fantasy.STARTUPINFOEX si, ref DeepDarkWin32Fantasy.PROCESS_INFORMATION pi);