[YAROTOWS] Reintegrate the branch. For a brighter future.
[reactos.git] / reactos / subsystems / win32 / win32k / include / bitmaps.h
1 #pragma once
2
3 #include "surface.h"
4
5 typedef struct tagBITMAPV5INFO
6 {
7 BITMAPV5HEADER bmiHeader;
8 RGBQUAD bmiColors[256];
9 } BITMAPV5INFO, *PBITMAPV5INFO;
10
11 INT APIENTRY BITMAP_GetObject(SURFACE * bmp, INT count, LPVOID buffer);
12 HBITMAP FASTCALL IntCreateBitmap(IN SIZEL Size, IN LONG Width, IN ULONG Format, IN ULONG Flags, IN PVOID Bits);
13 HBITMAP FASTCALL BITMAP_CopyBitmap (HBITMAP hBitmap);
14 UINT FASTCALL BITMAP_GetRealBitsPixel(UINT nBitsPixel);
15
16 HBITMAP
17 APIENTRY
18 GreCreateBitmap(
19 IN INT nWidth,
20 IN INT nHeight,
21 IN UINT cPlanes,
22 IN UINT cBitsPixel,
23 IN OPTIONAL PVOID pvBits);
24
25 HBITMAP
26 APIENTRY
27 GreCreateBitmapEx(
28 IN INT nWidth,
29 IN INT nHeight,
30 IN ULONG cjWidthBytes,
31 IN ULONG iFormat,
32 IN USHORT fjBitmap,
33 IN ULONG cjBits,
34 IN OPTIONAL PVOID pvBits,
35 IN FLONG flags);
36
37 HBITMAP
38 FASTCALL
39 GreCreateDIBitmapInternal(
40 IN HDC hDc,
41 IN INT cx,
42 IN INT cy,
43 IN DWORD fInit,
44 IN OPTIONAL LPBYTE pjInit,
45 IN OPTIONAL PBITMAPINFO pbmi,
46 IN DWORD iUsage,
47 IN FLONG fl,
48 IN HANDLE hcmXform);