WIA_BARCODES structure (wiadef.h)
The WIA_BARCODES structure stores header information for the barcode metadata report of one scan job (one call to IWiaMiniDrv::drvAcquireItemData).
Syntax
typedef struct _WIA_BARCODES {
DWORD Tag;
DWORD Version;
DWORD Size;
DWORD Count;
WIA_BARCODE_INFO Barcodes[1];
} WIA_BARCODES;
Members
Tag
Must be the literal 'WBAR', 4 single byte ASCII characters.
Version
Must be the value 0x00010000 (Version 1.0).
Size
The complete size of this WIA_BARCODES header structure, in bytes, including the complete size of the WIA_BARCODE_INFO list.
Count
Specifies the number of WIA_BARCODE_INFO elements in the Barcodes sequence.
Barcodes[1]
Placeholder for a sequence of Count contiguous WIA_BARCODE_INFO structures.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Header | wiadef.h (include Wiadef.h) |