TAPI_EVENT
The TAPI_EVENT enum is used to notify an application that a change has occurred in the TAPI object. The ITTAPIEventNotification::Event method implementation uses members of this enum to indicate the type of object associated with the IDispatch pointer passed by TAPI.
typedef enum TAPI_EVENT
{
TE_TAPIOBJECT,
TE_ADDRESS,
TE_CALLNOTIFICATION,
TE_CALLSTATE,
TE_CALLMEDIA,
TE_CALLHUB,
TE_CALLINFOCHANGE,
TE_PRIVATE,
TE_REQUEST,
TE_AGENT,
TE_AGENTSESSION,
TE_QOSEVENT,
TE_AGENTHANDLER,
TE_ACDGROUP,
TE_QUEUE,
TE_DIGITEVENT,
TE_GENERATEEVENT
}TAPI_EVENT;
Members
- TE_TAPIOBJECT
- Change is in TAPI object itself. See ITTAPIObjectEvent.
- TE_ADDRESS
- An Address object has changed. See ITAddressEvent.
- TE_CALLNOTIFICATION
- A new communications session has appeared on the address and the TAPI DLL has created a new call object. This could be a result from an incoming session, a session being handed off by another application, or a session being parked on the address. See ITCallNotificationEvent and ITTAPI::RegisterCallNotifications.
- TE_CALLSTATE
- The Call state has changed. See ITCallStateEvent.
- TE_CALLMEDIA
- The media associated with a call has changed. See ITCallMediaEvent.
- TE_CALLHUB
- A CallHub object has changed. See ITCallHubEvent.
- TE_CALLINFOCHANGE
- The call information has changed. ITCallInfoChangeEvent.
- TE_PRIVATE
- A provider-specific private object has changed. The precise type of object referenced is implementation dependent. See Provider-Specific Interfaces for general information and the service provider's documentation for the specific meaning.
- TE_REQUEST
- A Request object has changed. See ITRequestEvent.
- TE_AGENT
- An Agent object has changed. See ITAgentEvent.
- TE_AGENTSESSION
- An AgentSession object has changed. See ITAgentSessionEvent.
- TE_QOSEVENT
- A QOS event has occurred. See ITQOSEvent.
- TE_AGENTHANDLER
- An AgentHandler object has changed. See ITAgentHandlerEvent.
- TE_ACDGROUP
- An ACDGroup object has changed. See ITACDGroupEvent.
- TE_QUEUE
- A Queue object has changed. See ITQueueEvent.
- TE_DIGITEVENT
- A digit event has occurred. See ITDigitDetectionEvent.
- TE_GENERATEEVENT
- A digit generation has occurred. See ITDigitGenerationEvent.
Remarks
You must call the ITTAPI::put_EventFilter method and set the event filter mask to enable reception of events. If you do not call ITTAPI::put_EventFilter, your application will not receive any events.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Tapi3.h.
See Also
ITTAPIEventNotification::Event
ITACDGroupEvent
ITAddressEvent
ITAgentEvent
ITAgentHandlerEvent
ITAgentSessionEvent
ITCallHubEvent
ITCallInfoChangeEvent
ITCallMediaEvent
ITCallNotificationEvent
ITTAPI::RegisterCallNotifications
ITCallStateEvent
ITQOSEvent
ITQueueEvent
ITRequestEvent
ITTAPIObjectEvent