49a13af6256fcbee669ef7620ef448ca1b9f0a0e
[reactos.git] / reactos / 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 HPALETTE FASTCALL
20 BuildDIBPalette (CONST BITMAPINFO *bmi, PINT paletteType);
21
22 #endif /* _WIN32K_DIB_H */