IMimeBody::GetDataHere method

Copies the body data into a stream in a specified encoding.

Syntax

HRESULT GetDataHere(
  [in] ENCODINGTYPE ietEncoding,
  [in] IStream      *pStream
);

Parameters

ietEncoding [in]

Type: ENCODINGTYPE

Specifies the ENCODINGTYPE to copy the body data in.

pStream [in]

Type: IStream*

Specifies a pointer to an IStream to copy the data into.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_FAIL
Indicates that an unknown error has occurred.
E_INVALIDARG
Indicates that pStream is NULL.
E_OUTOFMEMORY
Indicates that an attempt to allocate memory failed.
ISequentialStream::Write
This method may return a failure result from the ISequentialStream::Write method.

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
IDL
Mimeole.idl
DLL
Inetcomm.dll (version 6.0 or later)