WIA_PATCH_CODES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wiadef.h

typedef struct _WIA_PATCH_CODES {
  DWORD               Tag;
  DWORD               Version;
  DWORD               Size;
  DWORD               Count;
  WIA_PATCH_CODE_INFO PatchCodes[1];
} WIA_PATCH_CODES;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wiadef-_wia_patch_codes)

_WIA_PATCH_CODES structure

Description

The WIA_PATCH_CODES structure stores header information for the patch code metadata report of one scan job (one call to IWiaMiniDrv::drvAcquireItemData).

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.