CreateDIBPatternBrush (GDI32.@)
HBRUSH CreateDIBPatternBrush ( HGLOBAL hbitmap, UINT coloruse )
Create a logical brush with a pattern from a DIB.
hbitmap | [In] | Global object containing BITMAPINFO structure for the pattern. |
coloruse | [In] | Specifies color format, if provided. |
A handle to the 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.
- This function is for compatibility only. CreateDIBPatternBrushPt should be used instead.
Defined in "wingdi.h".
Implemented in "dlls/gdi/brush.c". source.winehq.org/source/dlls/gdi/brush.c
Debug channel "gdi".
Copyright © 2005 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Aug 2005.