Bitmap::Bitmap(constBITMAPINFO*,VOID*) method (gdiplusheaders.h)
Creates a Bitmap::Bitmap object based on a BITMAPINFO structure and an array of pixel data.
Syntax
void Bitmap(
[in] const BITMAPINFO *gdiBitmapInfo,
[in] VOID *gdiBitmapData
);
Parameters
[in] gdiBitmapInfo
Type: const BITMAPINFO*
Pointer to a GDI BITMAPINFO structure. This structure defines several bitmap attributes, such as size and pixel format. The BITMAPINFO structure is defined in Wingdi.h.
[in] gdiBitmapData
Type: VOID*
Pointer to an array of bytes that contains the pixel data.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | gdiplusheaders.h (include Gdiplus.h) |
Library | Gdiplus.lib |
DLL | Gdiplus.dll |