Share via


MimeOleSplitMessage function

Do not use. Splits message into a collection of parts, as determined by a specified maximum part size.

Syntax

HRESULT MimeOleSplitMessage(
  _In_  IMimeMessage      *pMessage,
  _In_  ULONG             cbMaxPart,
  _Out_ IMimeMessageParts **ppParts
);

Parameters

pMessage [in]

Type: IMimeMessage*

Specifies a pointer to a IMimeMessage object.

cbMaxPart [in]

Type: ULONG

Specifies the maximum size of a part, in bytes.

ppParts [out]

Type: IMimeMessageParts**

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

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates ppParts is NULL.
E_MAX_SIZE_TOO_SMALL
Indicates cbMaxPart is smaller than the header.

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)