Share via


MimeOleMergePartialHeaders function

Do not use. Merges partial headers. The resulting stream should contain the headers for the first message (using normal RFC822 rules), then a blank line, and then the headers for the second message (again following RFC822 rules).

Syntax

HRESULT MimeOleMergePartialHeaders(
  _In_ IStream *pstmIn,
  _In_ IStream *pstmOut
);

Parameters

pstmIn [in]

Type: IStream*

Specifies a pointer to the IStream object for message source.

pstmOut [in]

Type: IStream*

Specifies a pointer to the IStream object for message destination.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

All of the header fields from the initial enclosing entity (part one), except those that start with "Content-" and the specific header fields "Message-ID", "Encrypted", and "MIME-Version", must be copied, in order, to the new message.

Only those header fields in the enclosed message which start with "Content-" and "Message-ID", "Encrypted", and "MIME-Version" must be appended, in order, to the header fields of the new message. Any header fields in the enclosed message which do not start with "Content-" (except for "Message-ID", "Encrypted", and "MIME-Version") will be ignored.

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)