MimeOleGetCertsFromThumbprints function

Do not use. Given a set of thumbprints, returns an equivalent set of certificates.

Syntax

HRESULT MimeOleGetCertsFromThumbprints(
  _In_          THUMBBLOB      rgThumbprint,
  _Inout_       X509CERTRESULT pResults,
  _In_    const HCERTSTORE     rghCertStore,
  _In_    const DWORD          cCertStore
);

Parameters

rgThumbprint [in]

Type: THUMBBLOB

Specifies array of thumbprints to look up.

pResults [in, out]

Type: X509CERTRESULT

Specifies the HRESULTS array containing CERTSTATE error info for each certificate lookup. Arrays must be allocated on IN.

rghCertStore [in]

Type: const HCERTSTORE

Specifies set of stores to search.

cCertStore [in]

Type: const DWORD

Specifies size of rghCertStore.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates all certs were found.
E_INVALIDARG
Indicates that pointer argument is NULL.
MIME_S_SECURITY_ERROROCCURED
Indicates that any of the lookups failed.
MIME_S_SECURITY_NOOP
Indicates pResults is empty or cCertStore is 0.

Remarks

Only indexes with non-NULL thumbprints are considered.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Mimeole.h
Library
Inetcomm.lib
DLL
Inetcomm.dll (version 6.0 or later)