#include <windows.h> HBRUSH32 CreateBrushIndirect(const LOGBRUSH32 *brush); typedef struct tagLOGBRUSH { UINT lbStyle; COLORREF lbColor; LONG lbHatch; } LOGBRUSH;
U16 | Value |
0 | lbStyle |
1 | lbColor |
2 | |
3 | lbHatch |
if lbStyle is not hatched then lbHatch is ignored, otherwise lbHatch is one of HS_HORIZONTAL, HS_VERTICAL, HS_FDIAGONAL, HS_BDIAGONAL, HS_CROSS, HS_DIAGCROSS. See the source for details of these.
This operation adds an entry for itself in the object list.