Siemens M20 Terminal Technical Description page 182

Cellular engine
Hide thumbs Also See for M20 Terminal:
Table of Contents

Advertisement

Siemens Information and Communication Products
8.4.2.6
int FlushComm(idComDev, fnQueue)
int idComDev;
int fnQueue;
The FlushComm function flushes all characters from the transmission or receiving queue of the specified communications
device.
int FlushComm(idComDev, fnQueue)
Parameter
Description
idComDev
Specifies the communications device to be flushed. The OpenComm function returns this
value.
fnQueue
Specifies the queue to be flushed. The transmission queue is flushed if this parameter is ze-
ro. The receiving queue is flushed if the parameter is 1.
Return value
0 if the function is successful.
< 0 if idComDev is not a valid device or if fnQueue is not a valid queue
> 0 if there is an error for the specified device. For a list of the possible error values, see the
GetCommError function.
Example
None
Comments
None
See also
GetCommError, OpenComm
Version 8 dated 15.03.00
/* communications-device identifier
/* queue to flush
*/
*/
Application notes
A
182

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents