IStreamBufferSource::SetStreamSink Method
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.
Syntax
HRESULT SetStreamSink(
[in] IStreamBufferSink *pIStreamBufferSink
);
Parameters
- pIStreamBufferSink [in]
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
Header | Declared in Sbe.h.. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008