CreateSolidBrush (GDI32.@)
HBRUSH CreateSolidBrush ( COLORREF color )
Create a logical brush consisting of a single colour.
color | [In] | Colour to make the solid brush. |
A handle to the newly created brush, or a NULL handle if the brush cannot be created.
- This function uses CreateBrushIndirect to create the brush.
- The brush returned should be freed by the caller using DeleteObject when it is no longer required.
Defined in "wingdi.h".
Implemented in "dlls/gdi32/brush.c". source.winehq.org/source/dlls/gdi32/brush.c
Debug channel "gdi".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.