[WIN32SS] Don't trigger ProbeForWrite when retrieving caret size from co_IntDrawCaret...
[reactos.git] / reactos / win32ss / gdi / ntgdi / bitmaps.h
1 #pragma once
2
3 INT APIENTRY BITMAP_GetObject(SURFACE * bmp, INT count, LPVOID buffer);
4 HBITMAP FASTCALL BITMAP_CopyBitmap (HBITMAP hBitmap);
5
6 BOOL
7 NTAPI
8 GreSetBitmapOwner(
9 _In_ HBITMAP hbmp,
10 _In_ ULONG ulOwner);
11
12 HBITMAP
13 NTAPI
14 GreCreateBitmap(
15 _In_ ULONG nWidth,
16 _In_ ULONG nHeight,
17 _In_ ULONG cPlanes,
18 _In_ ULONG cBitsPixel,
19 _In_opt_ PVOID pvBits);
20
21 HBITMAP
22 NTAPI
23 GreCreateBitmapEx(
24 _In_ ULONG nWidth,
25 _In_ ULONG nHeight,
26 _In_ ULONG cjWidthBytes,
27 _In_ ULONG iFormat,
28 _In_ USHORT fjBitmap,
29 _In_ ULONG cjSizeImage,
30 _In_opt_ PVOID pvBits,
31 _In_ FLONG flags);
32
33 HBITMAP
34 NTAPI
35 GreCreateDIBitmapInternal(
36 IN HDC hDc,
37 IN INT cx,
38 IN INT cy,
39 IN DWORD fInit,
40 IN OPTIONAL LPBYTE pjInit,
41 IN OPTIONAL PBITMAPINFO pbmi,
42 IN DWORD iUsage,
43 IN FLONG fl,
44 IN UINT cjMaxBits,
45 IN HANDLE hcmXform);
46
47 BOOL
48 NTAPI
49 UnsafeSetBitmapBits(
50 _Inout_ PSURFACE psurf,
51 _In_ ULONG cjBits,
52 _In_ const VOID *pvBits);
53
54 BOOL
55 NTAPI
56 GreGetBitmapDimension(
57 _In_ HBITMAP hBitmap,
58 _Out_ LPSIZE psizDim);
59