IOCTL_SERIAL_PURGE

This code discards characters from the output or input buffer of a specified communications resource. It can also terminate pending read or write operations on the resource.

Parameters

dwOpenData
Handle returned from a call to the COM_Open function.
dwCode
Specifies this code.
pBufIn
Ignored.
dwLenIn
Ignored.
pBufOut
Ignored.
dwLenOut
Ignored.
pdwActualOut
Ignored.

Remarks

The control code is declared in the Pegdser.h header file and defined in the Mdd.c file.

See Also

COM_IOControl, COM_Open