CreateDIBPatternBrush(3w)

CreateDIBPatternBrush3w

Usage

HBRUSH CreateDIBPatternBrush
(
HGLOBAL hbitmap,
UINT coloruse
)

Overview

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

Declared in "gdiplusenums.h".

Implemented in "dlls/gdi32/brush.c".

Debug channel "gdi".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.