BP_PAINTPARAMS structure (uxtheme.h)

Defines paint operation parameters for BeginBufferedPaint.

Syntax

typedef struct _BP_PAINTPARAMS {
  DWORD               cbSize;
  DWORD               dwFlags;
  const RECT          *prcExclude;
  const BLENDFUNCTION *pBlendFunction;
} BP_PAINTPARAMS, *PBP_PAINTPARAMS;

Members

cbSize

Type: DWORD

The size, in bytes, of this structure.

dwFlags

Type: DWORD

One or more of the following values.

Value Meaning
BPPF_ERASE
0x0001
Initialize the buffer to ARGB = {0, 0, 0, 0} during BeginBufferedPaint. This erases the previous contents of the buffer.
BPPF_NOCLIP
0x0002
Do not apply the clip region of the target DC to the double buffer. If this flag is not set and if the target DC is a window DC, then clipping due to overlapping windows is applied to the double buffer.
BPPF_NONCLIENT
0x0004
A non-client DC is being used.

prcExclude

Type: const RECT*

A pointer to exclusion RECT structure. This rectangle is excluded from the clipping region. May be NULL for no exclusion rectangle.

pBlendFunction

Type: const BLENDFUNCTION*

A pointer to BLENDFUNCTION structure, which controls blending by specifying the blending functions for source and destination bitmaps. If NULL, the source buffer is copied to the destination with no blending.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header uxtheme.h