IOCTL_SERIAL_GET_COMMSTATUS

This code clears any pending communications errors and returns the current communication status.

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