3844aa7427b3e20a5c8ede515182dd628ec71815
[reactos.git] / subsystems / win32 / win32k / include / bitmaps.h
1 #pragma once
2
3 #include "surface.h"
4
5 INT FASTCALL DIB_GetDIBWidthBytes (INT width, INT depth);
6 int APIENTRY DIB_GetDIBImageBytes (INT width, INT height, INT depth);
7 INT FASTCALL DIB_BitmapInfoSize (const BITMAPINFO * info, WORD coloruse);
8 INT APIENTRY BITMAP_GetObject(SURFACE * bmp, INT count, LPVOID buffer);
9 HBITMAP FASTCALL IntCreateBitmap(IN SIZEL Size, IN LONG Width, IN ULONG Format, IN ULONG Flags, IN PVOID Bits);
10 HBITMAP FASTCALL BITMAP_CopyBitmap (HBITMAP hBitmap);
11 UINT FASTCALL BITMAP_GetRealBitsPixel(UINT nBitsPixel);
12 INT FASTCALL BITMAP_GetWidthBytes (INT bmWidth, INT bpp);
13
14
15 HBITMAP
16 APIENTRY
17 GreCreateBitmap(
18 IN INT nWidth,
19 IN INT nHeight,
20 IN UINT cPlanes,
21 IN UINT cBitsPixel,
22 IN OPTIONAL PVOID pvBits);