|
Service Dependencies
Take care to ensure accurate listing of service dependencies among TAPI
(specifically, the Telephony Service TAPISRV.EXE), other service applications that use TAPI, and telephony service
providers (TSP) that use other services.
The installation program for the service application or telephony service
provider must record these dependencies with the Service Control Manager.
Note Failure to list TAPI as a dependency of the service application or failure
to list another service as a dependency of TAPI can result in the system
hanging.
List "Telephony Service" as a dependency of any service application that
initializes a TAPI line or phone function. When TAPI is a dependency of a service
application, the installation program must include "Telephony Service" in the
list of service names passed to the lpDependencies parameter of the CreateService function.
When another service is activated by the TSP during the service provider
startup (during TSPI_providerEnumDevices, TSPI_lineNegotiateAPIVersion, or TSPI_providerInit), the service started by the TSP must be listed as a dependency of the
"Telephony Service." As a service that starts dynamically, TAPI starts all TSPs
during its startup, and it is critical for the Service Control Manager to know when
any service provider starts another service during TSP startup.
Call the QueryServiceConfig function to determine the existing configuration of "Telephony Service,"
including dependencies. If the service or services started by the TSP are not
already included in the dependencies of the "Telephony Service", add the necessary
items to the dependency list and call ChangeServiceConfig to update the dependencies.
For additional information about changing a service configuration, see
Changing a Service Configuration in the Microsoft Win32 Programmer's Reference.
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|