WIA_PATCH_CODES structure (wiadef.h)
The WIA_PATCH_CODES structure stores header information for the patch code metadata report of one scan job (one call to IWiaMiniDrv::drvAcquireItemData).
Syntax
typedef struct _WIA_PATCH_CODES {
DWORD Tag;
DWORD Version;
DWORD Size;
DWORD Count;
WIA_PATCH_CODE_INFO PatchCodes[1];
} WIA_PATCH_CODES;
Members
Tag
Must be the literal 'WBAT', 4 single byte ASCII characters.
Version
Must be the value 0x00010000 (Version 1.0).
Size
The complete size of this WIA_PATCH_CODES header structure, in bytes, including the complete size of the WIA_PATCH_CODES_INFO list.
Count
Specifies the number of WIA_PATCH_CODES_INFO elements in the PatchCodes sequence.
PatchCodes[1]
Placeholder for a sequence of Count contiguous WIA_PATCH_CODES_INFO structures.
Remarks
The header must be followed by a sequence of patch code information structures, one for each detected patch code, in the order the patch codes were found and decoded.
Requirements
Requirement | Value |
---|---|
Header | wiadef.h (include Wiadef.h) |