ISmimeCapabilities::AddAvailableSmimeCapabilities method (certenroll.h)

The AddAvailableSmimeCapabilities method adds ISmimeCapability objects to the collection by identifying the encryption algorithms supported by the default RSA cryptographic provider.

Syntax

HRESULT AddAvailableSmimeCapabilities(
  [in] VARIANT_BOOL MachineContext
);

Parameters

[in] MachineContext

A VARIANT_BOOL variable that identifies the certificate store context. Specify VARIANT_TRUE for the computer and VARIANT_FALSE for the user.

Return value

If the function succeeds, the function returns S_OK.

If the function fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h
DLL CertEnroll.dll

See also

ISmimeCapabilities

ISmimeCapability