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 |
---|---|
|
Indicates success. |
|
Indicates that the message could not be decoded. |
|
Indicates that dwFlags is invalid. |
|
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 |
|
IDL |
|
DLL |
|