Share via


IStreamBufferSource::SetStreamSink method (sbe.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The SetStreamSink method sets a pointer to the Stream Buffer Sink filter, so that the Stream Buffer Source filter can stream data from the sink filter.

Syntax

HRESULT SetStreamSink(
  [in] IStreamBufferSink *pIStreamBufferSink
);

Parameters

[in] pIStreamBufferSink

Pointer to the Stream Buffer Sink filter's IStreamBufferSink Interface interface.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

The source filter and the sink filter must be within the same process, but can reside in different filter graphs. If they are in different processes, call IFileSourceFilter::Load with the same file name used in the IStreamBufferSink::LockProfile method.

Several Stream Buffer Source filters can stream from the same sink filter.

Requirements

Requirement Value
Minimum supported client Windows�XP with SP1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header sbe.h

See also

IStreamBufferSource Interface