 | 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: wclSerialFrameworkAssembly: wclSerialFramework (in wclSerialFramework.dll) Version: 8.0.6.0
Syntaxpublic int PurgeComm(
wclSerialPurgeFlag Flags
)
Public Function PurgeComm (
Flags As wclSerialPurgeFlag
) As Integer
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