[WIN32K]
[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 HBITMAP
15 APIENTRY
16 GreCreateBitmap(
17 IN INT nWidth,
18 IN INT nHeight,
19 IN UINT cPlanes,
20 IN UINT cBitsPixel,
21 IN OPTIONAL PVOID pvBits);
22
23 HBITMAP
24 APIENTRY
25 GreCreateBitmapEx(
26 IN INT nWidth,
27 IN INT nHeight,
28 IN ULONG cjWidthBytes,
29 IN ULONG iFormat,
30 IN USHORT fjBitmap,
31 IN ULONG cjBits,
32 IN OPTIONAL PVOID pvBits);
33