PosBarcodeScannerDataReceivedEventData 구조체(pointofservicedriverinterface.h)

이 구조체에는 BarcodeScannerDataReceived 이벤트에 전달되는 스캔된 데이터가 포함됩니다.

구문

typedef struct _PosBarcodeScannerDataReceivedEventData {
  PosEventDataHeader Header;
  UINT32             DataType;
  UINT32             ScanDataLength;
  UINT32             ScanDataLabelLength;
} PosBarcodeScannerDataReceivedEventData;

멤버

Header

이 이벤트에 대한 PosEventDataHeader 헤더 정보입니다.

DataType

검사 데이터와 연결된 BarcodeSymbology 를 나타냅니다.

ScanDataLength

스캔한 원시 데이터의 바이트 수를 나타냅니다.

ScanDataLabelLength

디코딩된 스캔 데이터의 바이트 수를 나타냅니다. 레이블은 머리글 및 바닥글 정보가 제거되어 원시 스캐너 데이터만 남기는 디코딩된 스캔 데이터입니다.

설명

스캔 데이터의 ScanDataLength 바이트는 PosBarcodeScannerDataReceivedEventData 구조 다음에 레이블 데이터의 ScanDataLabelLength 바이트를 즉시 따릅니다.

요구 사항

요구 사항
헤더 pointofservicedriverinterface.h(PointOfServiceDriverInterface.h 포함)