PosEventDataHeader structure (pointofservicedriverinterface.h)

This structure describes the scanned image data that is passed to the BarcodeScannerImagePreviewReceived event.

Syntax

typedef struct _PosEventDataHeader {
  PosEventType EventType;
  UINT32       DataLength;
} PosEventDataHeader, PosBarcodeScannerImagePreviewEventData;

Members

EventType

The type of event. For the BarcodeScannerImagePreviewReceived event the value of this field is BarcodeScannerImagePreviewReceived.

DataLength

The length, in bytes, of the image preview data.

Remarks

The image preview bitmap data immediately follows after this structure in memory for DataLength bytes.

Requirements

Requirement Value
Header pointofservicedriverinterface.h (include PointOfServiceDriverInterface.h)