ITTAPI interface

Last Updated : Sep 04, 2015 |

The ITTAPI interface is the base interface of the TAPI object.

Method

Description

Initialize

Initializes TAPI function.

HRESULT
Initialize();

Shutdown

Shuts down a TAPI session. Normally called as your applications closes down.

HRESULT
Shutdown();

EnumerateAddresses

Enumerates the addresses that are currently available.

HRESULT
EnumerateAddresses ( IEnumAddress **ppEnumAddress);

RegisterCallNotifications

Sets which new call notifications an application receives. The application must call the method for each address, indicating media types and specifying the requested privileges.

HRESULT RegisterCallNotifications
(
ITAddress*pAddress
VARIANT_BOOL fMonitor,
VARIANT_BOOL fOwner,
long lMediaTypes,
long lCallbackInstance,
long *plRegister
);

put_EventFilter

Sets the event filter mask.

HRESULT
put_EventFilter (long lFilterMask);