BitmapData (Windows Embedded CE 6.0)
1/6/2010
This class is used to create objects that contain information to describe pixel data for a rectangular area of bitmap images.
Syntax
class BitmapData {
public:
UINT Width;
UINT Height;
INT Stride;
PixelFormat PixelFormat;
VOID* Scan0;
UINT_PTR Reserved;
};
Data Members
- Width
A UINT value specifying the width, in pixels, of the bitmap image area.
- Height
A UINT value specifying the height, in pixels, of the bitmap image area.
Stride
An INT value specifying the number of bytes from one scan line of the bitmap area to the next.This value is negative for bottom-up bitmap images.
- PixelFormat
A PixelFormat value specifying the image's pixel format.
- Scan0
A VOID pointer to the beginning of the first scan line.
Reserved
A UINT_PTR value.This value is reserved.
Your application should sets this value to 0 before calling IBitmapImage::LockBits or IImagingFactory::CreateBitmapFromBuffer and never use or change it thereafter.
Requirements
Header | imaging.h |
Windows Embedded CE | Windows CE 5.0 and later |