Platform SDK: Web Telephony Engine

WTEApplications.Add Method

The Add method creates a new application object in the collection and returns a reference to the object. Use the Save method to persist the object.

Syntax

[ oWTEApplication = ] WTEApplications.Add( sName, sHomePage )

Parameters

sName
Required. String specifying the name of the new application.
sHomePage
Required. String specifying the home page of the new application.

Return Value

Returns a reference to the new WTEApplications object if successful; NULL otherwise.

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

WTEApplication, Save, WTEApplications