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 codeDescription
S_OK

Indicates success.

E_INVALIDARG

Indicates that pietEncoding is NULL.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Outlook Express 6.0

Header

Mimeole.h

IDL

Mimeole.idl

DLL

Inetcomm.dll (version 6.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2011

Community Additions

ADD
Show: