// pointofservicedriverinterface.h
typedef struct _MSR_ERROR_EVENT {
PosEventDataHeader Header;
MsrTrackErrorType Track1Status;
MsrTrackErrorType Track2Status;
MsrTrackErrorType Track3Status;
MsrTrackErrorType Track4Status;
DriverUnifiedPosErrorSeverity Severity;
DriverUnifiedPosErrorReason Reason;
UINT32 ExtendedReason;
MSR_DATA_RECEIVED CardData;
wchar_t Message[MSR_ERROR_MAX_MESSAGE_LENGTH];
} MSR_ERROR_EVENT, *PMSR_ERROR_EVENT;
View the official Windows Driver Kit DDI referenceNo description available.
This structure contains the error data that is passed to the MagneticStripeReaderErrorOccured event.
HeaderTrack 4 error status.
Track1StatusTrack 1 error status.
Track2StatusTrack 2 error status.
Track3StatusTrack 3 error status.
Track4StatusTrack 4 error status.
SeveritySeverity of the error.
ReasonReason for the error.
ExtendedReasonAdditional information about the error.
CardDataData read from a swiped magnetic stripe card.
MessageNULL terminated error message.