CreateDIBPatternBrush(3w)

NAME

CreateDIBPatternBrush (GDI32.@)

SYNOPSIS

HBRUSH CreateDIBPatternBrush
 (
  HGLOBAL hbitmap,
  UINT    coloruse
 )

DESCRIPTION

Create a logical brush with a pattern from a DIB.

PARAMS

hbitmap [In] Global object containing BITMAPINFO structure for the pattern.

coloruse [In] Specifies color format, if provided.

RETURNS

A handle to the created brush, or a NULL handle if the brush cannot be created.

NOTES

- This function uses CreateBrushIndirect(3w) to create the brush.

- The brush returned should be freed by the caller using DeleteObject(3w) when it is no longer required.

- This function is for compatibility only. CreateDIBPatternBrushPt(3w) should be used instead.

IMPLEMENTATION

Defined in "wingdi.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/gdi32/brush.c".

Debug channel "gdi".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout