MimeOleSMimeCapsFull Function

Do not use. Builds a list of encryption capabilities (if all encryption algorithms are to be supported) from the passed-in cookie, or defaults to 40-bit RC2. Similarly, if all signature algorithms are to be supported, builds a list of signing capabilities from the cookie, or defaults to SHA-1. The results are used to encode an Secure/Multipurpose Internet Mail Extensions (S/MIME) capabilities array object of the specified size.

Syntax

HRESULT MimeOleSMimeCapsFull(
  __in     LPVOID pv,
  __in     BOOL fFullEncryption,
  __in     BOOL fFullSigning,
  __inout  LPBYTE pbSymCaps,
  __inout  DWORD *pcbSymCaps
);

Parameters

pv [in]

Type: LPVOID

Specifies cookie containing capabilities.

fFullEncryption [in]

Type: BOOL

Specifies whether all encryption algorithms are to be supported.

fFullSigning [in]

Type: BOOL

Specifies whether all signature algorithms are to be supported.

pbSymCaps [in, out]

Type: LPBYTE

Specifies pointer to the S/MIME capabilities array.

pcbSymCaps [in, out]

Type: DWORD*

Returns array length.

Return Value

Type: HRESULT

Returns one of the following values.

Return codeDescription
S_OK

Indicates encryption capabilities list set.

E_FAIL

Indicates capabilities list not set.

 

Remarks

This function call is memory-intensive, and the results are always the same during a session. (They can only change with software upgrade.) Cache the results for better performance.

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: