Discards all characters from the output or input buffer of a specified communications resource. It can also terminate pending read or write operations on the resource.
|PURGE_TXABORT||Terminates all outstanding overlapped write operations and returns immediately, even if the write operations have not been completed.|
|PURGE_RXABORT||Terminates all outstanding overlapped read operations and returns immediately, even if the read operations have not been completed.|
|PURGE_TXCLEAR||Clears the output buffer (if the device driver has one).|
|PURGE_RXCLEAR||Clears the input buffer (if the device driver has one).|