Event-Driven Environment

Like all Win32 applications, Win32 Telephony applications operate in the event-driven model. In Telephony, the most important events are call-state transitions. The service provider and TAPI dynamic-link library report call states to applications for particular calls. Interested applications, which know the previous state of the call, could infer call-state transitions from call states.

All running applications receive informationpics/TAPI00090000.gifcall-state messagespics/TAPI00090000.gifabout all the calls in which they are interested. At times, several applications will have interest in the same call or calls, as monitors or owners of those calls. Incoming call-state events often cause applications to take actions on calls, and because those actions sometimes involve a shared call, one application must react to the knowledge that another has taken a certain step. Examples include the case where one application shows interest in owning (having control of) a call currently owned by your application, or drops a call co-owned by your application.

The Telephony system was designed to minimize race situationspics/TAPI00090000.gifin which the timing of competing function calls from different applications makes a difference. Awareness of the principles and the guidelines described in this section should help minimize possible competition.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database