SERCX_STATUS enumeration

The SERCX_STATUS enumeration indicates the status of a serial receive or transmit operation.

Syntax


typedef enum _SERCX_STATUS { 
  SerCxStatusSuccess    = STATUS_SUCCESS,
  SerCxStatusCancelled  = STATUS_CANCELLED,
  SerCxStatusTimeout    = STATUS_TIMEOUT
} SERCX_STATUS;

Constants

SerCxStatusSuccess

The operation is proceeding successfully.

SerCxStatusCancelled

The operation was canceled.

SerCxStatusTimeout

The operation timed out. This enumeration value applies only to read interval time-outs for receive operations. For more information, see the description of the ReadIntervalTimeout member in SERIAL_TIMEOUTS.

Remarks

The SerCxProgressReceive and SerCxProgressTransmit methods have parameters that are SERCX_STATUS enumeration values.

Requirements

Version

Supported starting with Windows 8.

Header

1.0\Sercx.h

See also

SerCxProgressReceive
SerCxProgressTransmit
SERIAL_TIMEOUTS

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft