ITSubStreamControl::RemoveSubStream method (tapi3if.h)

The RemoveSubStream method removes a substream.

Syntax

HRESULT RemoveSubStream(
  [in] ITSubStream *pSubStream
);

Parameters

[in] pSubStream

Pointer to ITSubStream to be removed.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_INVALIDARG
The pSubStream parameter does not point to a valid interface.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
TAPI_E_INVALIDSTREAM
The pSubStream parameter does not point to a valid substream.

Remarks

Some MSPs may not support the advanced concept of creating and removing substreams, and simply return TAPI_E_NOTSUPPORTED.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)

See also

ITSubStreamControl

Media Service Provider Interface (MSPI)