ITTerminalSupport::EnumerateStaticTerminals method (tapi3if.h)

The EnumerateStaticTerminals method enumerates the currently available static terminals associated with the address. This method is provided for C and C++ applications. Automation client applications, such as those written in Visual Basic, must use the get_StaticTerminals method.

Syntax

HRESULT EnumerateStaticTerminals(
  [out] IEnumTerminal **ppTerminalEnumerator
);

Parameters

[out] ppTerminalEnumerator

Pointer to an IEnumTerminal enumerator.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_POINTER
The ppTerminalEnumerator 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 ITTerminalSupport::EnumerateStaticTerminals. 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

Address Object

ITTerminalSupport

Terminal Object

Terminal Object Interfaces