Share via


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 code Description
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 [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)