windows::Win32::Security::Authentication::Identity

Function AddCredentialsW

pub unsafe fn AddCredentialsW<P1, P2>(
    hcredentials: *const SecHandle,
    pszprincipal: P1,
    pszpackage: P2,
    fcredentialuse: u32,
    pauthdata: Option<*const c_void>,
    pgetkeyfn: SEC_GET_KEY_FN,
    pvgetkeyargument: Option<*const c_void>,
    ptsexpiry: Option<*mut i64>,
) -> Result<()>
where P1: Param<PCWSTR>, P2: Param<PCWSTR>,