ITParticipantSubStreamControl::SwitchTerminalToSubStream method

[SwitchTerminalToSubStream is not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

The SwitchTerminalToSubStream method sets a terminal to the participant substream.

Syntax

HRESULT SwitchTerminalToSubStream(
  [in] ITTerminal  *pITTerminal,
  [in] ITSubStream *pITSubStream
);

Parameters

pITTerminal [in]

Pointer to ITTerminal interface.

pITSubStream [in]

Pointer to ITSubStream interface.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_UNEXPECTED
Participant information for the stream could not be accessed.
E_INVALIDARG
The pParticipant or the pITSubStream parameter does not point to a valid interface.
TAPI_E_NOITEMS
The substream is not ready.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.

Requirements

TAPI version
Requires TAPI 3.0 or later
Header
Confpriv.h
Library
Uuid.lib
DLL
Tapi3.dll

See also

ITParticipantSubStreamControl

ITParticipant

ITSubStream

ITTerminal