Platform SDK: TAPI

ITSubStreamControl::RemoveSubStream

Removes a substream.

HRESULT RemoveSubStream(
  ITSubStream *pSubStream
);

Parameters

pSubStream
[in] Pointer to ITSubStream to be removed.

Return 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

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

Media Service Provider Interface (MSPI), ITSubStreamControl