windows::Win32::Security::Cryptography

Function CertFindCertificateInStore

pub unsafe fn CertFindCertificateInStore(
    hcertstore: HCERTSTORE,
    dwcertencodingtype: CERT_QUERY_ENCODING_TYPE,
    dwfindflags: u32,
    dwfindtype: CERT_FIND_FLAGS,
    pvfindpara: Option<*const c_void>,
    pprevcertcontext: Option<*const CERT_CONTEXT>,
) -> *mut CERT_CONTEXT