This topic has not yet been rated - Rate this topic

BP_BUFFERFORMAT enumeration

Applies to: desktop apps only

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_ANIMATIONSTYLE;

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Uxtheme.h

See also

Other Resources
Device-Independent Bitmaps
CreateCompatibleBitmap

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Docu error
typedef enum _BP_BUFFERFORMAT { BPBF_COMPATIBLEBITMAP, BPBF_DIB, BPBF_TOPDOWNDIB, BPBF_TOPDOWNMONODIB } BP_ANIMATIONSTYLE; ANIMATIONSTYLE???