Export (0) Print
Expand All
Expand Minimize

MimeOleSMimeCapsFromDlg Function

Do not use. Reads a combo box of encryption algorithm IDs (Using the handle passed in), to select a default encryption algorithm and reads a combo box of signature algorithm IDs to select a default signing algorithm. A list of capabilities for each is built from the combo box items. Without combo boxes, the defaults are 40-bit RC2 and SHA-1. Optionally, if a checkbox with a blob item ID is checked, the capabilities list is generated as a blob. The results are used to encode an Secure/Multipurpose Internet Mail Extensions (S/MIME) capabilities array object of the specified size.

Syntax

HRESULT MimeOleSMimeCapsFromDlg(
  __in     HWND hwnd,
  __in     DWORD idEncAlgs,
  __in     DWORD idSignAlgs,
  __in     DWORD idBlob,
  __inout  LPBYTE pbSMimeCaps,
  __inout  DWORD *pcbSmimeCaps
);

Parameters

hwnd [in]

Type: HWND

Specifies a handle to the dialog window.

idEncAlgs [in]

Type: DWORD

Specifies encryption algorithm combo box ID.

idSignAlgs [in]

Type: DWORD

Specifies signature algorithm combo box ID.

idBlob [in]

Type: DWORD

Specifies a blob item checkbox ID.

pbSMimeCaps [in, out]

Type: LPBYTE

Specifies pointer to the S/MIME capabilities array.

pcbSmimeCaps [in, out]

Type: DWORD*

Returns array length.

Return Value

Type: HRESULT

Returns one of the following values.

Return codeDescription
S_OK

Indicates capabilities list set.

E_FAIL

Indicates capabilities list not set.

 

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