Share via


MimeOleSMimeCapGetHashAlg function

Do not use. Encodes an object of specified size using the best hash algorithm flagged in the cookie. On success, returns the number of bits used for the hash signing.

Syntax

HRESULT MimeOleSMimeCapGetHashAlg(
  _In_    LPVOID pv,
  _Inout_ LPBYTE pbEncode,
  _Inout_ DWORD  *pcbEncode,
  _Inout_ DWORD  *pfBlobSign
);

Parameters

pv [in]

Type: LPVOID

Specifies cookie containing capabilities.

pbEncode [in, out]

Type: LPBYTE

Returns pointer to the S/MIME capabilities array.

pcbEncode [in, out]

Type: DWORD*

Returns pointer to array length variable.

pfBlobSign [in, out]

Type: DWORD*

Returns the number of bits used for the hash signing.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates hash signing success.
S_FALSE
Indicates hash signing failure.

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)