CreatePatternBrush

struct {
    DWORD rdSize;
    WORD  rdFunction;
    WORD  rdParm[];
}

The CreatePatternBrush record contains a device-dependent bitmap that may not be suitable for playback on all devices.

Members

rdSize

Specifies the record size, in words.

rdFunction

Specifies the GDI function number 0x01F9.

rdParm

Contains the following elements:

Element Description

bmWidth Bitmap width
bmHeight Bitmap height
bmWidthBytes Bytes per raster line
bmPlanes Number of color planes
bmBitsPixel Number of adjacent color bits that define a pixel
bmBits Pointer to bit values
bits Actual bits of pattern