// wiadef.h
typedef struct _WIA_BARCODES {
DWORD Tag;
DWORD Version;
DWORD Size;
DWORD Count;
WIA_BARCODE_INFO Barcodes[1];
} WIA_BARCODES;
View the official Windows Driver Kit DDI referenceNo description available.
The WIA_BARCODES structure stores header information for the barcode metadata report of one scan job (one call to IWiaMiniDrv::drvAcquireItemData).
TagMust be the literal 'WBAR', 4 single byte ASCII characters.
VersionMust be the value 0x00010000 (Version 1.0).
SizeThe complete size of this WIA_BARCODES header structure, in bytes, including the complete size of the WIA_BARCODE_INFO list.
CountSpecifies the number of WIA_BARCODE_INFO elements in the Barcodes sequence.
BarcodesPlaceholder for a sequence of Count contiguous WIA_BARCODE_INFO structures.
The header must be followed by a sequence of barcode information structures, one for each decoded barcode, in the order the barcodes were found and decoded.