Share via


MimeOleSMimeCapsToDlg function

Do not use. Outputs supplied Secure/Multipurpose Internet Mail Extensions (S/MIME) capabilities to supplied dialog.

Syntax

HRESULT MimeOleSMimeCapsToDlg(
  _In_ LPBYTE     pbSMimeCaps,
  _In_ DWORD      cbSMimeCaps,
  _In_ DWORD      cCerts,
  _In_ PCX509CERT *rgCerts,
  _In_ HWND       hwndDlg,
  _In_ DWORD      idEncAlgs,
  _In_ DWORD      idSignAlgs,
  _In_ DWORD      idBlob
);

Parameters

pbSMimeCaps [in]

Type: LPBYTE

Specifies pointer to the S/MIME capabilities array.

cbSMimeCaps [in]

Type: DWORD

Specifies array length.

cCerts [in]

Type: DWORD

Specifies the number of certificates.

rgCerts [in]

Type: PCX509CERT*

Specifies the address of a pointer to a CERT_CONTEXT containing the certificates.

hwndDlg [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.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_FAIL
Indicates that decoding 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)