Platform SDK: Web Telephony Engine

Creating the Web Telephony Engine Service

To start the WTE service in debug-extension mode, a debug application must call the CoCreateInstance function with the class identifier (CLSID) CLSID_WTEService, and context value CLSCTX_LOCAL_SERVER. The CoCreateInstance function starts the WTE service.

If the WTE service was already started using a previous call to CoCreateInstance, another pointer to the same WTEApplication object is returned.

The pointer returned from the call to CoCreateInstance is a pointer to an IWTEApplication interface.

If the WTE service was already started in a normal working mode, the CoCreateInstance call fails.