Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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 codeDescription
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

Minimum supported server

Windows Server 2003

Product

Outlook Express 6.0

Header

Mimeole.h

Library

Inetcomm.lib

DLL

Inetcomm.dll (version 6.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2011

Community Additions

ADD
Show:
© 2015 Microsoft