windows::Win32::Security::Cryptography

Function NCryptImportKey

pub unsafe fn NCryptImportKey<P2>(
    hprovider: NCRYPT_PROV_HANDLE,
    himportkey: Option<NCRYPT_KEY_HANDLE>,
    pszblobtype: P2,
    pparameterlist: Option<*const BCryptBufferDesc>,
    phkey: *mut NCRYPT_KEY_HANDLE,
    pbdata: &[u8],
    dwflags: NCRYPT_FLAGS,
) -> Result<()>
where P2: Param<PCWSTR>,