Skip to main content

CreateProcessAsUserA

Function CreateProcessAsUserA 

Source
pub unsafe fn CreateProcessAsUserA<'a>(
    htoken: impl IntoParam<'a, HANDLE>,
    lpapplicationname: impl IntoParam<'a, PSTR>,
    lpcommandline: impl IntoParam<'a, PSTR>,
    lpprocessattributes: *mut SECURITY_ATTRIBUTES,
    lpthreadattributes: *mut SECURITY_ATTRIBUTES,
    binherithandles: impl IntoParam<'a, BOOL>,
    dwcreationflags: u32,
    lpenvironment: *mut c_void,
    lpcurrentdirectory: impl IntoParam<'a, PSTR>,
    lpstartupinfo: *mut STARTUPINFOA,
    lpprocessinformation: *mut PROCESS_INFORMATION,
) -> BOOL