IMimeBody::GetCurrentEncoding method

Gets the current encoding type for the data that is currently stored in the body. For example, if the body currently has image data that is encoded in Base64, this method will return IET_BASE64.

Syntax

HRESULT GetCurrentEncoding(
  [out] ENCODINGTYPE *pietEncoding
);

Parameters

pietEncoding [out]

Type: ENCODINGTYPE*

Receives a pointer to the ENCODINGTYPE value.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that pietEncoding is NULL.

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)