[WIN32K]
[reactos.git] / subsystems / win32 / win32k / include / dib.h
1 #pragma once
2
3 #include "dc.h"
4
5 INT FASTCALL
6 DIB_BitmapInfoSize (const BITMAPINFO * info, WORD coloruse);
7 HBITMAP APIENTRY
8 DIB_CreateDIBSection (PDC dc, CONST BITMAPINFO *bmi, UINT usage, LPVOID *bits, HANDLE section, DWORD offset, DWORD ovr_pitch);
9 int FASTCALL
10 DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width,
11 LONG *height, WORD *planes, WORD *bpp, DWORD *compr, DWORD *size );
12 INT APIENTRY
13 DIB_GetDIBImageBytes (INT width, INT height, INT depth);
14 INT FASTCALL
15 DIB_GetDIBWidthBytes (INT width, INT depth);
16 RGBQUAD * FASTCALL
17 DIB_MapPaletteColors(PDC dc, CONST BITMAPINFO* lpbmi);
18
19 HPALETTE FASTCALL
20 BuildDIBPalette (CONST BITMAPINFO *bmi, PINT paletteType);