|
|
|
|
- Supported options
- Limitations
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.
// 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:
| | tapiAnonymousMode | Anonymous mode. | tapiPlaneMode | Plane mode. | tapiSilentMode | Silent mode |
<New value>: Boolean - True to switch to the specified mode,
- False to disable the specified mode.
Remarks 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. - 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|