// pointofservicedriverinterface.h
typedef struct _PosEventDataHeader {
PosEventType EventType;
UINT32 DataLength;
} PosEventDataHeader, PosBarcodeScannerImagePreviewEventData;
View the official Windows Driver Kit DDI referenceNo description available.
This structure describes the scanned image data that is passed to the BarcodeScannerImagePreviewReceived event.
EventTypeThe type of event. For the BarcodeScannerImagePreviewReceived event the value of this field is BarcodeScannerImagePreviewReceived.
DataLengthThe length, in bytes, of the image preview data.
The image preview bitmap data immediately follows after this structure in memory for DataLength bytes.