windows::Win32::Security::Credentials

Function CredProtectW

pub unsafe fn CredProtectW(
    fasself: bool,
    pszcredentials: &[u16],
    pszprotectedcredentials: PWSTR,
    pcchmaxchars: *mut u32,
    protectiontype: Option<*mut CRED_PROTECTION_TYPE>,
) -> Result<()>