[YAROTOWS] Reintegrate the branch. For a brighter future.
[reactos.git] / reactos / 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 HPALETTE FASTCALL
15 DIB_MapPaletteColors(PPALETTE ppal, CONST BITMAPINFO* lpbmi);
16
17 HPALETTE FASTCALL
18 BuildDIBPalette (CONST BITMAPINFO *bmi);
19
20 BITMAPINFO* FASTCALL DIB_ConvertBitmapInfo(CONST BITMAPINFO* bmi, DWORD Usage);
21 VOID FASTCALL DIB_FreeConvertedBitmapInfo(BITMAPINFO* converted, BITMAPINFO* orig);