windows::Win32::Security::Cryptography

Function CryptProtectData

pub unsafe fn CryptProtectData<P1>(
    pdatain: *const CRYPT_INTEGER_BLOB,
    szdatadescr: P1,
    poptionalentropy: Option<*const CRYPT_INTEGER_BLOB>,
    pvreserved: Option<*const c_void>,
    ppromptstruct: Option<*const CRYPTPROTECT_PROMPTSTRUCT>,
    dwflags: u32,
    pdataout: *mut CRYPT_INTEGER_BLOB,
) -> Result<()>
where P1: Param<PCWSTR>,