WIA_BARCODE_INFO - NtDoc

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

typedef struct _WIA_BARCODE_INFO {
  DWORD Size;
  DWORD Type;
  DWORD Page;
  DWORD Confidence;
  DWORD XOffset;
  DWORD YOffset;
  DWORD Rotation;
  DWORD Length;
  WCHAR Text[1];
} WIA_BARCODE_INFO;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

Description

The WIA_BARCODE_INFO structure stores information for one decoded barcode.

Members

Size

The total size of this structure, in bytes.

Type

The barcode type. One of the WIA_IPS_SUPPORTED_BARCODE_TYPES values.

Page

The page number where the barcode was detected. A zero-based index referring to the current scan job.

Confidence

The confidence level. A value in the range from 0 (no confidence) to 10 (maximum confidence).

XOffset

The horizontal coordinate, in pixels (relative to the scanned image), where the top-left origin of the barcode was detected. This value can be 0 if it is unknown.

YOffset

The vertical coordinate, in pixels (relative to the scanned image), where the top-left origin of the barcode was detected. This value can be 0 if it is unknown.

Rotation

The rotation of the barcode, in degrees. A value in the rage from 0 to 359. This value can be 0 if it is unknown.

Length

The number of text characters in the character string containing the decoded barcode text, excluding the length of the NULL terminator.

Text

Placeholder for the character string containing the decoded barcode text (double byte characters, NULL terminated).