ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Phone functions
  • Required configuration
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the characteristics of a telephony device. Allows you to find out whether this device supports all types of incoming calls, the voice calls and the faxes.
Example
IF BinaryAND(tapiCapability("LPT2"), tapiOptionMediaModeVoice) = tapiOptionMediaModeVoice THEN
Info("Voice supported")
END
 
IF BinaryAND(tapiCapability("LPT2"), tapiOptionMediaModeFax) = tapiOptionMediaModeFax THEN
Info("Fax supported")
END
Syntax
<Result> = tapiCapability(<Device name>)
<Result>: Integer or integer constant
  • 0 if an error occurred,
  • one or more of the following constants:
    tapiOptionMediaModeFaxDevice accepting the faxes
    tapiOptionMediaModeUnknownDevice accepting the incoming calls of unknown type.
    tapiOptionMediaModeVoiceDevice accepting the voice calls.
    Remark: The Fax modems that allow auto-dialing may return this constant.
To easily identify the result, use BinaryAND.
<Device name>: Character string
Name of the device to use. The list of telephony devices is returned by tapiDeviceList.
Remarks

Required configuration

Telephony functions use TAPI 2.0 technology and/or TAPI 3.1 technology. These technologies can be used on all systems.
Component: wd290com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help