WIA_DITHER_PATTERN_DATA structure

The WIA_DITHER_PATTERN_DATA structure specifies a dither pattern for scanners. It is used in conjunction with the scanner device property constant WIA_DPS_DITHER_PATTERN_DATA.

Syntax


typedef struct _WIA_DITHER_PATTERN_DATA {
  LONG lSize;
  BSTR bstrPatternName;
  LONG lPatternWidth;
  LONG lPatternLength;
  LONG cbPattern;
  BYTE *pbPattern;
} WIA_DITHER_PATTERN_DATA, *PWIA_DITHER_PATTERN_DATA;

Members

lSize

Type: LONG

Specifies the size of this structure in bytes. Should be set to sizeof(WIA_DITHER_PATTERN_DATA).

bstrPatternName

Type: BSTR

Specifies a string that contains the name of this dither pattern.

lPatternWidth

Type: LONG

Indicates the width of the dither pattern in bytes.

lPatternLength

Type: LONG

Indicates the length of the dither pattern in bytes.

cbPattern

Type: LONG

Specifies the total number of bytes in the array pointed to by the pbPattern member.

pbPattern

Type: BYTE*

Specifies a pointer to a buffer that contains the dither pattern.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wia.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft