Compartilhar via


estrutura MSR_ERROR_EVENT (pointofservicedriverinterface.h)

Essa estrutura contém os dados de erro passados para o evento MagneticStripeReaderErrorOccured.

Sintaxe

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;

Membros

Header

Acompanhe o status do erro 4.

Track1Status

Acompanhe o status do erro 1.

Track2Status

Acompanhe o status do erro 2.

Track3Status

Acompanhe o status do erro 3.

Track4Status

Acompanhe o status do erro 4.

Severity

Gravidade do erro.

Reason

Motivo do erro.

ExtendedReason

Informações adicionais sobre o erro.

CardData

Dados lidos de um cartão de tarja magnética apagado.

Message[MSR_ERROR_MAX_MESSAGE_LENGTH]

Mensagem de erro terminada em NULL.

Requisitos

Requisito Valor
cabeçalho pointofservicedriverinterface.h (inclua PointOfServiceDriverInterface.h)