windows::Win32::Security::Cryptography

Function CertAddEncodedCertificateToStore

pub unsafe fn CertAddEncodedCertificateToStore(
    hcertstore: Option<HCERTSTORE>,
    dwcertencodingtype: CERT_QUERY_ENCODING_TYPE,
    pbcertencoded: &[u8],
    dwadddisposition: u32,
    ppcertcontext: Option<*mut *mut CERT_CONTEXT>,
) -> Result<()>