.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CreateDIBPatternBrushPt 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCreateDIBPatternBrushPt\fR (GDI32.@) .SH SYNOPSIS HBRUSH CreateDIBPatternBrushPt ( const void* \fIdata\fR, UINT \fIcoloruse\fR ) .SH DESCRIPTION .PP Create a logical brush with a pattern from a \fBDIB\fR. .SH PARAMS \fIdata\fR \fB[In]\fR Pointer to a \fBBITMAPINFO\fR structure and image \fIdata\fR for the pattern. .PP \fIcoloruse\fR \fB[In]\fR Specifies color format, if provided. .PP .SH RETURNS .PP A handle to the created brush, or a \fBNULL\fR handle if the brush cannot be created. .SH NOTES .PP \fB-\fR This function uses \fBCreateBrushIndirect(3w)\fR to create the brush. .PP \fB-\fR The brush returned should be freed by the caller using \fBDeleteObject(3w)\fR when it is no longer required. .SH IMPLEMENTATION .PP Declared in \fB"gdiplusenums.h"\fR. .PP Implemented in \fB"dlls/gdi32/brush.c"\fR. .PP Debug channel \fB"gdi"\fR.