| Prototype | |
|
|
| Parameters | |
|
handle to open port |
|
Zero disables receiver, non-zero enables receiver |
| Return Value | |
|
Success |
|
hDevice is invalid |
Enable or disable the receiver. Enable receiver to allow data to be received. Disabling the receiver discards data in the receive buffers. Disabling the receiver while a call to MgslReceive is pending, cancels the receive call.
A call to this function with the TRUE flag while the receiver is enabled is ignored. A call to this function with the FALSE flag while the receiver is disabled is ignored. In both of these cases, ERROR_SUCCESS is returned.
See also:Receiving Data
| Previous | Contents | Next |