D2D1_MAPPED_RECT structure (d2d1_1.h)

Describes mapped memory from the ID2D1Bitmap1::Map API.

Syntax

typedef struct D2D1_MAPPED_RECT {
  UINT32 pitch;
  BYTE   *bits;
} D2D1_MAPPED_RECT;

Members

pitch

The size in bytes of an individual scanline in the bitmap.

bits

The data inside the bitmap.

Remarks

The mapped rectangle is used to map a rectangle into the caller's address space.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Header d2d1_1.h

See also

ID2D1Bitmap1::Map