WIA_MICR structure (wiadef.h)

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

Syntax

typedef struct _WIA_MICR {
  DWORD         Tag;
  DWORD         Version;
  DWORD         Size;
  WCHAR         Placeholder;
  WORD          Reserved;
  DWORD         Count;
  WIA_MICR_INFO Micr[1];
} WIA_MICR;

Members

Tag

Must be the literal 'WMIC', 4 single byte ASCII characters.

Version

Must be the value 0x00010000 (Version 1.0).

Size

The complete size of this WIA_MICR header structure, in bytes, including the complete size of the WIA_MICR_INFO list.

Placeholder

Placeholder for unrecognized characters.

Reserved

Count

Specifies the number of WIA_MICR_INFO elements in the Micr sequence.

Micr[1]

Placeholder for a sequence of Count contiguous WIA_MICR_INFO structures.

Remarks

The header must be followed by a sequence of MICR information structures, one for each decoded MICR code, in the order the MICR codes were found and decoded.

Requirements

Requirement Value
Header wiadef.h (include Wiadef.h)