|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.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
|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..