Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Encodes the message body.
Syntax
HRESULT Encode(
[in] HWND hwnd,
[in] DWORD dwFlags
);
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)
-
Return value
Type: HRESULT
Returns one of the following values.
| Return code | Description |
|---|---|
|
Indicates success. |
|
Indicates that an unknown error has occurred. |
|
Indicates that dwFlags is invalid. |
|
Indicates that the body is plain text. |
|
Indicates that no certificates were found. |
|
Indicates that an attempt to allocate memory failed. |
|
Indicates that a problem with the certificate prevented encoding. |
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 |
|