PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Required configuration
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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:
    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.
    tapiOptionMediaModeFaxDevice accepting the faxes
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
WINDEVUser code (UMC)

Required configuration

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