This topic has not yet been rated - Rate this topic

WIA_PATCH_CODES structure

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_CODES_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

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.

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

© 2013 Microsoft. All rights reserved.