Share via


MimeOleSMimeCapAddCert function

Do not use. Sets a passed-in cookie with a flag indicating the encryption algorithm to be used.

Syntax

HRESULT MimeOleSMimeCapAddCert(
  _In_    LPBYTE pbCert,
  _In_    DWORD  cbCert,
  _In_    BOOL   fParanoid,
  _Inout_ LPVOID pv
);

Parameters

pbCert [in]

Type: LPBYTE

Not used.

cbCert [in]

Type: DWORD

Not used.

fParanoid [in]

Type: BOOL

Specifies algorithm choice. Forces 3-DES encryption when TRUE, RC2 40-bit when FALSE.

pv [in, out]

Type: LPVOID

Returns cookie containing flag indicating the encryption algorithm to be used. 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 encryption algorithm set.
S_FALSE
Indicates encryption algorithm not set.

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)