summaryrefslogtreecommitdiff
path: root/wingdi_bitmap_fnapi.h
blob: 4642ca18ba39eee875bd29068f6aad60a2cdfd9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
#include <windef.h>

BOOL __stdcall AlphaBlend(
	HDC		hdcDest,
	int		xoriginDest,
	int		yoriginDest,
	int		wDest,
	int		hDest,
	HDC		hdcSrc,
	int		xoriginSrc,
	int		yoriginSrc,
	int		wSrc,
	int		hSrc,
	BLENDFUNCTION	ftn);


BOOL __stdcall BitBlt(
	HDC	hdcDest,
	int	nXDest,
	int	nYDest,
	int	nWidth,
	int	nHeight,
	HDC	hdcSrc,
	int	nXSrc,
	int	nYSrc,
	DWORD	dwRop);


HBITMAP __stdcall CreateBitmap(
	int		nWidth,
	int		nHeight,
	UINT		cPlanes,
	UINT		cBitsPerPel,
	const void *	lpvBits);

HBITMAP __stdcall CreateBitmapIndirect(
	const BITMAP *	lpbm);


HBITMAP __stdcall CreateCompatibleBitmap(
	HDC	hdc,
	int	nWidth,
	int	nHeight);


HBITMAP __stdcall CreateDIBitmap(
	HDC hdc,
	const BITMAPINFOHEADER *	lpbmih,
	DWORD				fdwInit,
	const void *			lpbInit,
	const	BITMAPINFO *		lpbmi,
	UINT				fuUsage);


HBITMAP __stdcall CreateDIBSection(
	HDC			hdc,
	const BITMAPINFO *	pbmi,
	UINT			iUsage,
	VOID **			ppvBits,
	HANDLE			hSection,
	DWORD			dwOffset);


HBITMAP __stdcall CreateDiscardableBitmap(
	HDC	hdc,
	int	nWidth,
	int	nHeight);

BOOL __stdcall ExtFloodFill(
	HDC		hdc,
	int		nXStart,
	int		nYStart,
	COLORREF	crColor,
	UINT		fuFillType);


BOOL __stdcall GradientFill(
	HDC hdc,
	PTRIVERTEX	pVertex,
	ULONG		nVertex,
	PVOID		pMesh,
	ULONG		nMesh,
	ULONG		ulMode);


BOOL __stdcall TransparentBlt(
	HDC	hdcDest,
	int	xoriginDest,
	int	yoriginDest,
	int	wDest,
	int	hDest,
	HDC	hdcSrc,
	int	xoriginSrc,
	int	yoriginSrc,
	int	wSrc,
	int	hSrc,
	UINT	crTransparent);


LONG __stdcall GetBitmapBits(
	HBITMAP	hbmp,
	LONG	cbBuffer,
	LPVOID	lpvBits);


BOOL __stdcall GetBitmapDimensionEx(
	HBITMAP		hBitmap,
	LPSIZE		lpDimension);


UINT __stdcall GetDIBColorTable(
	HDC		hdc,
	UINT		uStartIndex,
	UINT		cEntries,
	RGBQUAD *	pColors);


int __stdcall GetDIBits(
	HDC		hdc,
	HBITMAP		hbmp,
	UINT		uStartScan,
	UINT		cScanLines,
	LPVOID		lpvBits,
	LPBITMAPINFO	lpbi,
	UINT		uUsage);


COLORREF __stdcall GetPixel(
	HDC	hdc,
	int	nXPos,
	int	nYPos);


int __stdcall GetStretchBltMode(
	HDC	hdc);


HBITMAP __stdcall LoadBitmapA(
	HINSTANCE	hInstance,
	char *		lpBitmapName);

HBITMAP __stdcall LoadBitmapM(
	HINSTANCE	hInstance,
	char *		lpBitmapName);

HBITMAP __stdcall LoadBitmapW(
	HINSTANCE	hInstance,
	WCHAR		lpBitmapName);

#define __default_variant	(LoadBitmap)


BOOL __stdcall MaskBlt(
	HDC	hdcDest,
	int	nXDest,
	int	nYDest,
	int	nWidth,
	int	nHeight,
	HDC	hdcSrc,
	int	nXSrc,
	int	nYSrc,
	HBITMAP	hbmMask,
	int	xMask,
	int	yMask,
	DWORD	dwRop);


BOOL __stdcall PlgBlt(
	HDC hdcDest,
	const POINT *	lpPoint,
	HDC		hdcSrc,
	int		nXSrc,
	int		nYSrc,
	int		nWidth,
	int		nHeight,
	HBITMAP		hbmMask,
	int		xMask,
	int		yMask);


LONG __stdcall SetBitmapBits(
	HBITMAP		hbmp,
	DWORD		cBytes,
	const void *	lpBits);

BOOL __stdcall SetBitmapDimensionEx(
	HBITMAP		hBitmap,
	int		nWidth,
	int		nHeight,
	LPSIZE		lpSize);


UINT __stdcall SetDIBColorTable(
	HDC		hdc,
	UINT		uStartIndex,
	UINT		cEntries,
	const RGBQUAD *	pColors);


int __stdcall SetDIBits(
	HDC			hdc,
	HBITMAP			hbmp,
	UINT			uStartScan,
	UINT			cScanLines,
	const void *		lpvBits,
	const BITMAPINFO *l	pbmi,
	UINT 			fuColorUse);

int __stdcall SetDIBitsToDevice(
	HDC			hdc,
	int			XDest,
	int			YDest,
	DWORD			dwWidth,
	DWORD			dwHeight,
	int			XSrc,
	int			YSrc,
	UINT			uStartScan,
	UINT			cScanLines,
	const void *		lpvBits,
	const BITMAPINFO *	lpbmi,
	UINT 			fuColorUse);


COLORREF __stdcall SetPixel(
	HDC		hdc,
	int		X,
	int		Y,
	COLORREF	crColor);


BOOL __stdcall SetPixelV(
	HDC		hdc,
	int		X,
	int		Y,
	COLORREF	crColor);


int __stdcall SetStretchBltMode(
	HDC	hdc,
	int	iStretchMode);


BOOL __stdcall StretchBlt(
	HDC	hdcDest,
	int	nXOriginDest,
	int	nYOriginDest,
	int	nWidthDest,
	int	nHeightDest,
	HDC	hdcSrc,
	int	nXOriginSrc,
	int	nYOriginSrc,
	int	nWidthSrc,
	int	nHeightSrc,
	DWORD	dwRop);


int __stdcall StretchDIBits(
	HDC 			hdc,
	int 			XDest,
	int 			YDest,
	int 			nDestWidth,
	int 			nDestHeight,
	int 			XSrc,
	int 			YSrc,
	int 			nSrcWidth,
	int 			nSrcHeight,
	const void *		lpBits,
	const BITMAPINFO *	lpBitsInfo,
	UINT			iUsage,
	DWORD			dwRop);