BRUSHOBJ

typedef struct _BRUSHOBJ {
    ULONG iSolidColor;
    PVOID pvRbrush;
} BRUSHOBJ;

A BRUSHOBJ structure contains two public members that describe a brush object. Brush objects are used to define fill patterns.

Members

iSolidColor
Specifies the color index of a solid brush. This index has been translated to the target surface’s palette. Drawing can proceed without realization of the brush. A value of 0xFFFFFFFF indicates that a nonsolid brush must be realized.
pvRbrush
Points to the driver’s realized brush.

Comments

Drivers can call BRUSHOBJXxx service routines to realize brushes or to find previously realized brushes.

If the iSolidColor member is 0xFFFFFFFF or the pvRbrush member is null, the driver must call the BRUSHOBJ_pvGetRbrush function to realize the brush.