WICBitmapPattern structure (wincodec.h)

Contains members that identify a pattern within an image file which can be used to identify a particular format.

Syntax

typedef struct WICBitmapPattern {
  ULARGE_INTEGER Position;
  ULONG          Length;
  BYTE           *Pattern;
  BYTE           *Mask;
  BOOL           EndOfStream;
} WICBitmapPattern;

Members

Position

Type: ULARGE_INTEGER

The offset the pattern is located in the file.

Length

Type: ULONG

The pattern length.

Pattern

Type: BYTE*

The actual pattern.

Mask

Type: BYTE*

The pattern mask.

EndOfStream

Type: BOOL

The end of the stream.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Header wincodec.h