Partager via


IStreamBufferSource::SetStreamSink

 
Microsoft DirectShow 9.0

IStreamBufferSource::SetStreamSink

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(
  IStreamBufferSink*  
  pIStreamBufferSink
  
);

Parameters

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.

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: Include Sbe.h..

See Also