update for HEAD-2003091401
[reactos.git] / subsys / win32k / include / dib.h
1 #ifndef __WIN32K_DIB_H
2 #define __WIN32K_DIB_H
3
4 #include <win32k/dc.h>
5
6 INT FASTCALL
7 DIB_BitmapInfoSize (const BITMAPINFO * info, WORD coloruse);
8 HBITMAP STDCALL
9 DIB_CreateDIBSection (PDC dc, PBITMAPINFO bmi, UINT usage, LPVOID *bits, HANDLE section, DWORD offset, DWORD ovr_pitch);
10 INT STDCALL
11 DIB_GetBitmapInfo (const BITMAPINFOHEADER *header, PDWORD width, PINT height, PWORD bpp, PWORD compr);
12 INT STDCALL
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 PPALETTEENTRY STDCALL
20 DIBColorTableToPaletteEntries(PPALETTEENTRY palEntries, const RGBQUAD *DIBColorTable, ULONG ColorCount);
21 HPALETTE FASTCALL
22 BuildDIBPalette (PBITMAPINFO bmi, PINT paletteType);
23
24 #endif /* __WIN32K_DIB_H */