MimeOleAlgStrengthFromSMimeCap Function

Do not use. Used to obtain the bit strength of an encryption algorithm.

Syntax

HRESULT MimeOleAlgStrengthFromSMimeCap(
  __in   LPBYTE pb,
  __in   DWORD cb,
  __in   BOOL fEncryption,
  __out  DWORD *pdwStrength
);

Parameters

pb [in]

Type: LPBYTE

Specifies pointer to the S/MIME capabilities array.

cb [in]

Type: DWORD

Specifies array length.

fEncryption [in]

Type: BOOL

Specifies whether to check the encryption algorithm.

pdwStrength [out]

Type: DWORD*

Returns the bit strength of algorithm used.

Return Value

Type: HRESULT

Returns one of the following values.

Return codeDescription
S_OK

Indicates success.

S_FALSE

Indicates pdwStrength was checked for, but not found.

E_OUTOFMEMORY

Indicates allocation failed.

 

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

Show: