windows::Win32::Security::Cryptography

Function NCryptExportKey

pub unsafe fn NCryptExportKey<P2>(
    hkey: NCRYPT_KEY_HANDLE,
    hexportkey: Option<NCRYPT_KEY_HANDLE>,
    pszblobtype: P2,
    pparameterlist: Option<*const BCryptBufferDesc>,
    pboutput: Option<&mut [u8]>,
    pcbresult: *mut u32,
    dwflags: NCRYPT_FLAGS,
) -> Result<()>
where P2: Param<PCWSTR>,