Platform SDK: Web Telephony Engine |
The hostName property retrieves the name of the component that is currently hosting the Web telephony application. When WTE is hosting the application, the value of this property is "Microsoft Web Telephony Engine."
[ sName = ] ExOM.hostName
This property is read-only.
Following is an example:
On Error Resume Next If External.hostName = "Microsoft Web Telephony Engine " Then ... End If
You can use this property in a dual-access Web telephony application to determine whether the application is running under WTE or under a graphical Web browser such as Microsoft Internet Explorer.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Mswtecom.idl and Mswtecom.h.
Library: Use Mswtecom.lib.