Platform SDK: TAPI

ITSubStream::get_Terminals

Creates a collection of terminals associated with the current substream. Provided for Automation client applications, such as those written in Visual Basic. C and C++ applications must use the EnumerateTerminals method.

HRESULT get_Terminals(
  VARIANT *pTerminals
);

Parameters

pTerminals
[out, retval] Pointer to VARIANT containing an ITCollection of ITTerminal interface pointers (terminal objects).

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The pTerminals parameter is not a valid pointer.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.

Remarks

This method returns only the terminals selected on the substream. Other terminals may be selected on the stream or on other substreams within the stream; those terminals are not returned.

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), ITSubStream, ITCollection, ITTerminal