EMRCREATEDIBPATTERNBRUSHPT  IHWI.7 

The EMRCREATEDIBPATTERNBRUSHPT structure contains members for the CreateDIBPatternBrushPt3IBLJFD enhanced metafile record. The BITMAPINFO.2PXNH structure is followed by the bitmap bits that form a packed device-independent bitmap (DIB).

typedef struct tagEMRCREATEDIBPATTERNBRUSHPT

    EMR   emr;

    DWORD ihBrush;

    DWORD iUsage;

    DWORD offBmi;

    DWORD cbBmi;

    DWORD offBits;

    DWORD cbBits;

} EMRCREATEDIBPATTERNBRUSHPT,
PEMRCREATEDIBPATTERNBRUSHPT;

 

Members

emr

Base structure for all record types.

ihBrush

Index of brush in handle table.

iUsage

Value specifying whether the bmiColors member of the BITMAPINFO structure was provided and, if so, whether bmiColors contains explicit red, green, blue (RGB) values or indices. The iUsage member must be either the DIB_PAL_COLORS, DIB_PAL_INDICES, or DIB_RGB_COLORS value.

offBmi

Offset to BITMAPINFO structure.

cbBmi

Size of BITMAPINFO structure.

offBits

Offset to bitmap bits.

cbBits

Size of bitmap bits.

 

See Also

BITMAPINFO.2PXNH, CreateDIBPatternBrushPt3IBLJFD, RGB959Q0EE