PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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.
Note: 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

The telephony functions are using the TAPI 2.0 technology. This technology can be used on all the systems.
However, if the system used is Windows NT4, the service pack 4 (or later) must be installed.
Note: The TAPI 3.0 technology (and later) is not supported in this version.
Components
WINDEVReports and Queries wd230com.dll
Windows Mobile wp230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment