Condividi tramite


struttura MSR_ERROR_EVENT (pointofservicedriverinterface.h)

Questa struttura contiene i dati di errore passati all'evento MagneticStripeReaderErrorOccured.

Sintassi

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;

Membri

Header

Tenere traccia dello stato di errore 4.

Track1Status

Tenere traccia dello stato di errore 1.

Track2Status

Tenere traccia dello stato di errore 2.

Track3Status

Tenere traccia dello stato di errore 3.

Track4Status

Tenere traccia dello stato di errore 4.

Severity

Gravità dell'errore.

Reason

Motivo dell'errore.

ExtendedReason

Informazioni aggiuntive sull'errore.

CardData

Dati letti da una scheda di striscia magnetica con scorrimento rapido.

Message[MSR_ERROR_MAX_MESSAGE_LENGTH]

Messaggio di errore con terminazione NULL.

Fabbisogno

Requisito Valore
intestazione pointofservicedriverinterface.h (include PointOfServiceDriverInterface.h)