PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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
ListAdd(COMBO_TAPI, sTAPIList)
...
// Selects the TAPI device chosen in the combo box
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
The information to modify corresponds 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.
Components
Windows Mobile wp230com.dll
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment