CertFindCTLInStore

[DllImport("Crypt32.dll", SetLastError = true)]
public static extern IntPtr CertFindCTLInStore(
   IntPtr hCertStore,
   uint dwCertEncodingType,
   uint dwFindFlags,
   uint dwFindType,
   IntPtr pvFindPara,
   IntPtr pPrevCtlContext
);

Microsoft documentation: Link

Last updated