ITStreamControl::RemoveStream method (tapi3if.h)

The RemoveStream method removes a media stream.

Syntax

HRESULT RemoveStream(
  [in] ITStream *pStream
);

Parameters

[in] pStream

Pointer to ITStream interface.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_INVALIDARG
The pStream parameter is not valid.
TAPI_E_NOTSUPPORTED
This operation is not supported.

Remarks

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

Stream creation or removal may involve interaction with a remote endpoint, resulting in a CMC_REMOTE_REQUEST rather than the CMC_LOCAL_REQUEST messages that are received when a stream is stopped or started.

Requirements

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

See also

ITStreamControl

Media Service Provider Interface (MSPI)