MSR_ERROR_EVENT structure (pointofservicedriverinterface.h)
This structure contains the error data that is passed to the MagneticStripeReaderErrorOccured event.
Syntax
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;
Members
Header
Track 4 error status.
Track1Status
Track 1 error status.
Track2Status
Track 2 error status.
Track3Status
Track 3 error status.
Track4Status
Track 4 error status.
Severity
Severity of the error.
Reason
Reason for the error.
ExtendedReason
Additional information about the error.
CardData
Data read from a swiped magnetic stripe card.
Message[MSR_ERROR_MAX_MESSAGE_LENGTH]
NULL terminated error message.
Requirements
Requirement | Value |
---|---|
Header | pointofservicedriverinterface.h (include PointOfServiceDriverInterface.h) |