Share via


IiTvDataStreamControl::RemoveStream Method

The RemoveStream method deselects the stream by packet identifier (PID) to be sent to callback.

Syntax

  HRESULT RemoveStream(
  VARIANT  StreamId
);

Parameters

StreamId

Specifies the stream ID.

Return Values

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

If the application returns ITVDATA_FILTERING_METHOD_PID in response to its IiTvDataReceiver::get_StreamControlByType method, the IiTvDataStreamControl interface is passed to IiTvDataReceiver::Initialize. Otherwise, this method returns NULL.

Requirements

Header: TVVMData.idl

Platform: Windows 7

See Also