BP_BUFFERFORMAT enumeration (uxtheme.h)

Specifies the format of the buffer. Used by BeginBufferedAnimation and BeginBufferedPaint.

Syntax

typedef enum _BP_BUFFERFORMAT {
  BPBF_COMPATIBLEBITMAP,
  BPBF_DIB,
  BPBF_TOPDOWNDIB,
  BPBF_TOPDOWNMONODIB
} BP_BUFFERFORMAT;

Constants

 
BPBF_COMPATIBLEBITMAP
Compatible bitmap. The number of bits per pixel is based on the color format of the device associated with the HDC specified with BeginBufferedPaint or BeginBufferedAnimation—typically, this is the display device.
BPBF_DIB
Bottom-up device-independent bitmap. The origin of the bitmap is the lower-left corner. Uses 32 bits per pixel.
BPBF_TOPDOWNDIB
Top-down device-independent bitmap. The origin of the bitmap is the upper-left corner. Uses 32 bits per pixel.
BPBF_TOPDOWNMONODIB
Top-down, monochrome, device-independent bitmap. Uses 1 bit per pixel.

Requirements

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

See also

CreateCompatibleBitmap

Device-Independent Bitmaps

Other Resources