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


Microsoft DirectShow 9.0


This topic applies only to Windows XP Service Pack 1 or later.

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.


HRESULT SetStreamSink(
  IStreamBufferSink*  pIStreamBufferSink



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

Return Values

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

Value Description
S_OK The method succeeded.


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.


Header: Include Sbe.h..

See Also

© 2015 Microsoft