The CDC_REC_ERROR record

Indicates that an error occurred and the session is no longer valid.

The header specific to the CDC_REC_ERROR record follows the common header. No data follows the headers; the payload size in the common header is 0.
Table 1. Format of the CDC_REC_ERROR record
Section Size Description
Flags 4 bytes Hexadecimal flag:
  • 0x1 indicates that the capture session is no longer valid and the only valid operation is to run the cdc_closesess() function to close the session.
  • any other value indicates that the session is still valid.
Error code 4 bytes The error code.