windows::Win32::System::Threading

Function CreateProcessAsUserA

pub unsafe fn CreateProcessAsUserA<P1, P8>(
    htoken: Option<HANDLE>,
    lpapplicationname: P1,
    lpcommandline: Option<PSTR>,
    lpprocessattributes: Option<*const SECURITY_ATTRIBUTES>,
    lpthreadattributes: Option<*const SECURITY_ATTRIBUTES>,
    binherithandles: bool,
    dwcreationflags: PROCESS_CREATION_FLAGS,
    lpenvironment: Option<*const c_void>,
    lpcurrentdirectory: P8,
    lpstartupinfo: *const STARTUPINFOA,
    lpprocessinformation: *mut PROCESS_INFORMATION,
) -> Result<()>
where P1: Param<PCSTR>, P8: Param<PCSTR>,