ITAddress2::put_EventFilter method (tapi3if.h)

The put_EventFilter method sets an event filter for the current address. If no event filters are set, the application will not be notified of events on this address.

Syntax

HRESULT put_EventFilter(
  [in] TAPI_EVENT   TapiEvent,
  [in] long         lSubEvent,
  [in] VARIANT_BOOL bEnable
);

Parameters

[in] TapiEvent

The TAPI_EVENT descriptor of the event type.

[in] lSubEvent

Subevent descriptor.

[in] bEnable

VARIANT_TRUE if the application requires notification of this event type. VARIANT_FALSE if the application does not require notifications for this event.

Return value

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

Requirements

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

See also

ITAddress2

TAPI_EVENT