windows::Win32::Security::Cryptography

Function NCryptProtectSecret

pub unsafe fn NCryptProtectSecret(
    hdescriptor: NCRYPT_DESCRIPTOR_HANDLE,
    dwflags: u32,
    pbdata: &[u8],
    pmempara: Option<*const NCRYPT_ALLOC_PARA>,
    hwnd: Option<HWND>,
    ppbprotectedblob: *mut *mut u8,
    pcbprotectedblob: *mut u32,
) -> Result<()>