Click or drag to resize

wclSerialClientPurgeComm Method

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.

Namespace: wclSerialFramework
Assembly: wclSerialFramework (in wclSerialFramework.dll) Version: 8.0.6.0
Syntax
public int PurgeComm(
	wclSerialPurgeFlag Flags
)

Parameters

Flags  wclSerialPurgeFlag
The set of the wclSerialPurgeFlag flags.

Return Value

Int32
If the method completed with success the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See Also