ITTAPI::put_EventFilter method (tapi3if.h)

The put_EventFilter method sets the event filter mask. The mask is a series of ORed members of the TAPI_EVENT enumeration.

Note  You must call this method to enable reception of events. If you do not call ITTAPI::put_EventFilter, your application will not receive any events.
 

Syntax

HRESULT put_EventFilter(
  [in] long lFilterMask
);

Parameters

[in] lFilterMask

Event filter mask.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.

Requirements

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

See also

Events overview

ITTAPI

ITTAPIEventNotification

Register Events code snippet

TAPI_EVENT

get_EventFilter