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.
The control code is declared in the Pegdser.h header file and defined in the Mdd.c file.