예제 #1
0
파일: Win32.cs 프로젝트: gam4er/SneakyRun
 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
     );
예제 #2
0
파일: Win32.cs 프로젝트: gam4er/SneakyRun
 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
     );