// pointofservicedriverinterface.h
typedef struct _PosBarcodeScannerDataReceivedEventData {
PosEventDataHeader Header;
UINT32 DataType;
UINT32 ScanDataLength;
UINT32 ScanDataLabelLength;
} PosBarcodeScannerDataReceivedEventData;
View the official Windows Driver Kit DDI referenceNo description available.
This structure contains the scanned data that is passed to the BarcodeScannerDataReceived event.
HeaderThe PosEventDataHeader header information for this event.
DataTypeIndicates which BarcodeSymbology is associated with the scan data.
ScanDataLengthIndicates the number of bytes of raw scanned data.
ScanDataLabelLengthIndicates 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.
ScanDataLength bytes of scan data immediately follows the PosBarcodeScannerDataReceivedEventData structure, followed by ScanDataLabelLength bytes of label data.