Export (0) Print
Expand All

BP_BUFFERFORMAT enumeration

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 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Uxtheme.h

See also

Other Resources
Device-Independent Bitmaps
CreateCompatibleBitmap

 

 

Community Additions

ADD
Show:
© 2014 Microsoft