Share via


MimeOleCreateBody function

Do not use. On success, creates a new message body.

Syntax

HRESULT MimeOleCreateBody(
  _Out_ IMimeBody **ppBody
);

Parameters

ppBody [out]

Type: IMimeBody**

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

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
NOERROR
The table is initialized.
E_OUTOFMEMORY
An attempt to allocate memory failed.
E_INVALIDARG
Indicates ppBody is NULL.

Remarks

Note

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