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 codeDescription
S_OK

Indicates encryption algorithm set.

S_FALSE

Indicates encryption algorithm not set.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Outlook Express 6.0

Header

Mimeole.h

Library

Inetcomm.lib

DLL

Inetcomm.dll (version 6.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2011

Community Additions

ADD
Show: