Share via


MimeOleCreateMessageTree function

Do not use. On success, creates and initializes a message tree.

Syntax

HRESULT MimeOleCreateMessageTree(
  _In_  IUnknown         *pUnkOuter,
  _Out_ IMimeMessageTree **ppMessageTree
);

Parameters

pUnkOuter [in]

Type: IUnknown*

Specifies pointer to the controlling IUnknown interface on the outer object if the property set object is being created as part of an aggregate object. This parameter can be NULL if the object is not part of an aggregate.

ppMessageTree [out]

Type: IMimeMessageTree**

Receives the address of a pointer to a new IMimeMessageTree object.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates ppMessageTree is NULL.

Remarks

Note

Caller of function is responsible for freeing IMimeMessageTree object.

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)