ITStream::EnumerateTerminals method (tapi3if.h)

The EnumerateTerminals method enumerates terminals selected on the stream. Provided for C and C++ applications. Automation client applications such as Visual Basic must use the get_Terminals method.

Syntax

HRESULT EnumerateTerminals(
  [out] IEnumTerminal **ppEnumTerminal
);

Parameters

[out] ppEnumTerminal

Pointer to an IEnumTerminal terminal enumerator.

Return value

This method can return one of these values.

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

Remarks

TAPI calls the AddRef method on the IEnumTerminal interface returned by ITStream::EnumerateTerminals. The application must call Release on the IEnumTerminal interface to free resources associated with it.

Requirements

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

See also

IEnumTerminal

ITStream

Media Service Provider Interface (MSPI)