windows::Win32::Security::Cryptography

Function NCryptSecretAgreement

pub unsafe fn NCryptSecretAgreement(
    hprivkey: NCRYPT_KEY_HANDLE,
    hpubkey: NCRYPT_KEY_HANDLE,
    phagreedsecret: *mut NCRYPT_SECRET_HANDLE,
    dwflags: NCRYPT_FLAGS,
) -> Result<()>