MimeOleStripHeaders function

Do not use. Strips and adds a message header.

Syntax

HRESULT MimeOleStripHeaders(
  _In_    IMimeMessage *pMessage,
  _In_    HBODY        hBody,
  _In_    LPCSTR       pszNameDelete,
  _In_    LPCSTR       pszHeaderAdd,
  _Inout_ IStream      **ppStream
);

Parameters

pMessage [in]

Type: IMimeMessage*

Specifies a pointer to the IMimeMessage object.

hBody [in]

Type: HBODY

Specifies a handle to the message body.

pszNameDelete [in]

Type: LPCSTR

Specifies header to strip.

pszHeaderAdd [in]

Type: LPCSTR

Specifies header to write.

ppStream [in, out]

Type: IStream**

Receives the address of a pointer to the IStream object that contains the stream for action.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that a pointer argument is NULL.

Remarks

Note

Caller of this function is responsible for freeing IStream object pointed to by ppStream.

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)