Skip to content
Search

WindowsApi:PurgeComm

lastmod 2018-08-17created 2016-03-281 edits

Discards all data in the input/output buffers of the specified communications resource. Also terminates pending input/output operations on the resource.

Flags

Value

Meaning

PURGE_RXABORT (0x0002)

Terminates all read operations.

PURGE_RXCLEAR (0x0008)

Clears the input buffer.

PURGE_TXABORT (0x0001)

Terminates all write operations.

PURGE_TXCLEAR (0x0004)

Clears the output buffer.

See also

Favorite site