windows::Win32::System::Threading

Function CreateProcessWithTokenW

pub unsafe fn CreateProcessWithTokenW<P2, P6>(
    htoken: HANDLE,
    dwlogonflags: CREATE_PROCESS_LOGON_FLAGS,
    lpapplicationname: P2,
    lpcommandline: Option<PWSTR>,
    dwcreationflags: PROCESS_CREATION_FLAGS,
    lpenvironment: Option<*const c_void>,
    lpcurrentdirectory: P6,
    lpstartupinfo: *const STARTUPINFOW,
    lpprocessinformation: *mut PROCESS_INFORMATION,
) -> Result<()>
where P2: Param<PCWSTR>, P6: Param<PCWSTR>,