IEnroll4::InstallPKCS7BlobEx method (xenroll.h)

[This method is no longer available for use as of Windows Server 2008 and Windows Vista.]

The InstallPKCS7BlobEx method processes a certificate or chain of certificates, placing them into the appropriate certificate stores. The InstallPKCS7BlobEx method is the same as InstallPKCS7Blob except that it returns the number of certificates actually installed in local stores.

Syntax

HRESULT InstallPKCS7BlobEx(
  [in]  PCRYPT_DATA_BLOB pBlobPKCS7,
  [out] LONG             *plCertInstalled
);

Parameters

[in] pBlobPKCS7

A pointer to a CRYPT_DATA_BLOB structure that contains a certificate or chain of certificates.

[out] plCertInstalled

Returns the number of certificates installed into local stores.

Return value

The return value is an HRESULT. A value of S_OK indicates success.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header xenroll.h
Library Uuid.lib
DLL Xenroll.dll

See also

IEnroll4