AddMessageListener

Adds a message listener.

Syntax

virtual HRESULT TCOMAPI AddMessageListener (ITcMessageListener ipListener, ITcEventFilterConfig pipFilterConfig)

Parameter

Name

Type

Description

ipListener

ITcMessageListener

Pointer to the ITcMessageListener interface.

pipFilterConfig

ITcEventFilterConfig

Pointer to an ITcEventFilterConfig pointer.

AddMessageListener 1: Return value

Type

Description

HRESULT

Returns S_OK if the method call was successful, otherwise an HRESULT as the error code.