CreateBrushIndirect (GDI32.@)
HBRUSH CreateBrushIndirect ( const LOGBRUSH* brush )
Create a logical brush with a given style, color or pattern.
brush | [In] | Pointer to a LOGBRUSH structure describing the desired brush. |
A handle to the created brush, or a NULL handle if the brush cannot be created.
- The brush returned should be freed by the caller using DeleteObject when it is no longer required.
- Windows® 95 and earlier cannot create brushes from bitmaps or DIBs larger than 8x8 pixels. If a larger bitmap is given, only a portion of the bitmap is used.
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.