ITTTSTerminalEvent::get_Terminal method (tapi3if.h)

The get_Terminal method gets an ITTerminal interface pointer for the terminal object involved in the event.

Syntax

HRESULT get_Terminal(
  [out] ITTerminal **ppTerminal
);

Parameters

[out] ppTerminal

Pointer to the ITTerminal interface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

TAPI calls the AddRef method on the ITTerminal interface returned by ITTTSTerminalEvent::get_Terminal. The application must call Release on the ITTerminal interface to free resources associated with it.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

ITTTSTerminalEvent

ITTerminal