PosBarcodeScannerDataReceivedEventData structure (pointofservicedriverinterface.h)
This structure contains the scanned data that is passed to the BarcodeScannerDataReceived event.
Syntax
typedef struct _PosBarcodeScannerDataReceivedEventData {
PosEventDataHeader Header;
UINT32 DataType;
UINT32 ScanDataLength;
UINT32 ScanDataLabelLength;
} PosBarcodeScannerDataReceivedEventData;
Members
Header
The PosEventDataHeader header information for this event.
DataType
Indicates which BarcodeSymbology is associated with the scan data.
ScanDataLength
Indicates the number of bytes of raw scanned data.
ScanDataLabelLength
Indicates the number of bytes of decoded scan data. A label is the decoded scan data in which the header and footer information has been removed, leaving only the raw scanner data.
Remarks
ScanDataLength bytes of scan data immediately follows the PosBarcodeScannerDataReceivedEventData structure, followed by ScanDataLabelLength bytes of label data.
Requirements
Requirement | Value |
---|---|
Header | pointofservicedriverinterface.h (include PointOfServiceDriverInterface.h) |