IMimeSecurity2::Decode method

Decodes the message body.

Syntax

HRESULT Decode(
  [in] HWND                  hwnd,
  [in] DWORD                 dwFlags,
  [in] IMimeSecurityCallback *pCallback
);

Parameters

hwnd [in]

Type: HWND

Specifies the handle of the parent window.

dwFlags [in]

Type: DWORD

Specifies a set of security encoding flags (SEF_*).

SEF_ENCRYPTWITHNOSENDERCERT (0x00000001)

SEF_SENDERSCERTPROVIDED (0x00000002)

SEF_NOUI (0x00000004)

pCallback [in]

Type: IMimeSecurityCallback*

Specifies a pointer to the IMimeSecurityCallback object.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
MIME_S_SECURITY_NOOP
Indicates that the message could not be decoded.
E_INVALIDARG
Indicates that dwFlags is invalid.
E_OUTOFMEMORY
Indicates that an attempt to allocate memory 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
IDL
Mimeole.idl
DLL
Inetcomm.dll (version 6.0 or later)