Platform SDK: Web Telephony Engine

ExOM.hostName Property

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."

Syntax

[ sName = ] ExOM.hostName

Possible Values

sName
String specifying the host name.

This property is read-only.

Example

Following is an example:

On Error Resume Next
 
If External.hostName = "Microsoft Web Telephony Engine " Then
  ...
End If

Remarks

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.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Mswtecom.idl and Mswtecom.h.
  Library: Use Mswtecom.lib.

See Also

ExOM