Export (0) Print
Expand All
Expand Minimize

MimeOleSMimeCapGetEncAlg Function

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

Syntax

HRESULT MimeOleSMimeCapGetEncAlg(
  __in     LPVOID pv,
  __inout  LPBYTE pbEncode,
  __inout  DWORD *pcbEncode,
  __inout  DWORD *pdwBits
);

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.

pdwBits [in, out]

Type: DWORD*

Receives the number of bits used for the encryption.

Return Value

Type: HRESULT

Returns one of the following values.

Return codeDescription
S_OK

Indicates encoding success.

S_FALSE

Indicates encoding 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