ITCallInfo2::put_EventFilter method (tapi3if.h)

The put_EventFilter method sets an event filter for the current call.

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 application requires notification of this event type. VARIANT_FALSE indicates 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

ITCallInfo2