MimeOleGetAlternativeSection function

Do not use. Returns handle to the first body in the message tree that has the alternative content type. Also returns whether other instances were found.

Syntax

HRESULT MimeOleGetAlternativeSection(
  _In_  IMimeMessageTree *pTree,
  _Out_ LPHBODY          phAlternative,
  _Out_ boolean          *pfMultiple
);

Parameters

pTree [in]

Type: IMimeMessageTree*

Specifies a pointer to the IMimeMessageTree object.

phAlternative [out]

Type: LPHBODY

Receives handle of an alternative body section.

pfMultiple [out]

Type: boolean*

Returns whether more than one multipart/mixed content type was found.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success whether found or not.
E_INVALIDARG
Indicates that pTree or phAlternative 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
Library
Inetcomm.lib
DLL
Inetcomm.dll (version 6.0 or later)