Export (0) Print
Expand All
Expand Minimize

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

Indicates hash signing success.

S_FALSE

Indicates hash signing failure.

 

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:
© 2015 Microsoft