IStreamConcatenate::Append2 method (imapi2.h)

Appends an array of streams to this stream.

Syntax

HRESULT Append2(
  [in] IStream **streams,
  [in] ULONG   streamCount
);

Parameters

[in] streams

Array of IStream interfaces of the streams to append to this stream.

[in] streamCount

Number of streams in streams.

Return value

S_OK is returned on success, but other success codes may be returned as a result of implementation. The following error codes are commonly returned on operation failure, but do not represent the only possible error values:

Return code Description
E_NOTIMPL
Not implemented.

Value: 0x80004001

Remarks

You must call the IStreamConcatenate::Initialize or IStreamConcatenate::Initialize2 method prior to calling this method.

To append a single stream to this stream, call the IStreamConcatenate::Append method.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imapi2.h

See also

IStreamConcatenate

IStreamConcatenate::Append