MimeOleSMimeCapAddSMimeCap function

Do not use. Receives an array of CRYPT_SMIME_CAPABILITIES allocated by MimeOleSMimeCapInit and returns a cookie flagged with a filtered list of available algorithms. See wincrypt.h.

Syntax

HRESULT MimeOleSMimeCapAddSMimeCap(
  _In_  LPBYTE pbSMimeCap,
  _In_  DWORD  cbSMimeCap,
  _Out_ LPVOID pv
);

Parameters

pbSMimeCap [in]

Type: LPBYTE

Specifies pointer to the S/MIME capabilities array.

cbSMimeCap [in]

Type: DWORD

Specifies array length.

pv [out]

Type: LPVOID

Returns cookie flagged with a filtered list of available algorithms. Note: pv must be greater than 9 bytes in size.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates algorithm list set.
S_FALSE
Indicates algorithm list not set.
E_INVALIDARG
Indicates array pointer NULL, array length 0, or output buffer NULL.

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)