Share via


MimeOleCreateMessage function

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

Syntax

HRESULT MimeOleCreateMessage(
  _In_  IUnknown     *pUnkOuter,
  _Out_ IMimeMessage **ppMessage
);

Parameters

pUnkOuter [in]

Type: IUnknown*

Specifies pointer to controlling IUnknown.

ppMessage [out]

Type: IMimeMessage**

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

Return value

Type: HRESULT

Returns one of the following values.

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

Remarks

Note

Caller of function is responsible for freeing IMimeMessage 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)