Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 851 Bytes

createprocesswithtoken.md

File metadata and controls

24 lines (19 loc) · 851 Bytes

CreateProcessWithTokenW

[DllImport("ADVAPI32.dll", ExactSpelling = true, SetLastError = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
public static extern unsafe BOOL CreateProcessWithTokenW(
    HANDLE hToken,
    CREATE_PROCESS_LOGON_FLAGS dwLogonFlags,
    PCWSTR lpApplicationName,
    PWSTR lpCommandLine,
    PROCESS_CREATION_FLAGS dwCreationFlags,
    [Optional] void* lpEnvironment,
    PCWSTR lpCurrentDirectory,
    STARTUPINFOW* lpStartupInfo,
    PROCESS_INFORMATION* lpProcessInformation);

create_process_logon_flags.md

process_creation_flags.md

startupinfow.md

process_information.md