ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Attention : This is version 26 of this documentation page. This feature may have been changed or removed in a higher version.
Help / WLanguage / WLanguage functions / Communication / Phone functions
  • Supported options
  • Limitations
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
tapiChangeDeviceParameter (Function)
In french: telChangeParamètrePériphérique
Modifies the parameters of a telephony device. The device onto which tapiChangeDeviceParameter is applied must have been selected by tapiDevice.
Example
// Retrieves the list of TAPI devices
sTAPIList is string = tapiDeviceList()
// Displays the list in a Combo Box control
ListAdd(COMBO_TAPI, sTAPIList)
...
// Selects the TAPI device chosen in the Combo Box control
tapiDevice(COMBO_TAPI[COMBO_TAPI])
 
// Switches to Plane mode if necessary
IF tapiDeviceParameter(tapiPlaneMode) = False THEN
tapiChangeDeviceParameter(tapiPlaneMode, True)
END
Syntax
<Result> = tapiChangeDeviceParameter(<Information to modify> , <New value>)
<Result>: Boolean
  • True if the change was performed,
  • False otherwise. The ErrorOccurred variable and ErrorInfo return more details about the problem.
<Information to modify>: Integer constant
Information to modify corresponding to one of the following constants:
tapiAnonymousModeAnonymous mode.
tapiPlaneModePlane mode.
tapiSilentModeSilent mode
<New value>: Boolean
  • True to switch to the specified mode,
  • False to disable the specified mode.
Remarks

Supported options

Some smartphones may propose more options than the anonymous mode, the plane mode or the silent mode. In fact, the options proposed are combinations of the different modes proposed by WINDEV Mobile.

Limitations

  • The constants that can be used depend on the hardware platforms. The result of the call must be checked by the ErrorOccurred variable to find out whether the operation is allowed by the device.
  • This function is not available for the Pocket PC 2003, Smartphone 2003 and earlier. The result returned by this function may differ according to the makes and the models. It may not operate on some types of devices.
Component: wp260com.dll
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 09/17/2020

Send a report | Local help