mirror of
https://github.com/reactos/reactos.git
synced 2024-10-08 10:24:06 +00:00
5cfcef35dc
- Rewrite NtGdiGetDIBitsInternal, with WINE as a reference. - Get back DIB Section creation to classic BITMAPINFO. This si the beginnig of the end for all this BITMAPV5INFO stuff. It is horrible, BITMAPCOREINFO->BITMAPINFO is already made in user mode, and V4 and V5 features are not used so often. svn path=/branches/reactos-yarotows/; revision=48359
21 lines
698 B
C
21 lines
698 B
C
#pragma once
|
|
|
|
#include "dc.h"
|
|
|
|
INT FASTCALL
|
|
DIB_BitmapInfoSize (const BITMAPINFO * info, WORD coloruse);
|
|
HBITMAP APIENTRY
|
|
DIB_CreateDIBSection (PDC dc, CONST BITMAPINFO *bmi, UINT usage, LPVOID *bits, HANDLE section, DWORD offset, DWORD ovr_pitch);
|
|
int FASTCALL
|
|
DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width,
|
|
LONG *height, WORD *planes, WORD *bpp, DWORD *compr, DWORD *size );
|
|
INT APIENTRY
|
|
DIB_GetDIBImageBytes (INT width, INT height, INT depth);
|
|
INT FASTCALL
|
|
DIB_GetDIBWidthBytes (INT width, INT depth);
|
|
RGBQUAD * FASTCALL
|
|
DIB_MapPaletteColors(PDC dc, CONST BITMAPINFO* lpbmi);
|
|
|
|
HPALETTE FASTCALL
|
|
BuildDIBPalette (CONST BITMAPINFO *bmi, PINT paletteType);
|