Release 0.1.0
[wine.git] / windows.h
blobc97f5fed20cb24bcb3680236bd3531704698ed6c
1 /* Initial draft attempt of windows.h, by Peter MacDonald, pmacdona@sanjuan.uvic.ca */
3 #ifndef _WINARGS
5 typedef unsigned short WORD;
6 typedef unsigned long DWORD;
7 #ifndef _WINMAIN
8 typedef unsigned short BOOL;
9 typedef unsigned char BYTE;
10 #endif
11 typedef long LONG;
12 typedef WORD HANDLE;
13 typedef HANDLE HWND;
14 typedef HANDLE HDC;
15 typedef HANDLE HCURSOR;
16 typedef HANDLE HFONT;
17 typedef HANDLE HPEN;
18 typedef HANDLE HRGN;
19 typedef HANDLE HPALETTE;
20 typedef HANDLE HICON;
21 typedef HANDLE HMENU;
22 typedef HANDLE HBITMAP;
23 typedef HANDLE HBRUSH;
24 typedef HANDLE LOCALHANDLE;
25 typedef char *LPSTR;
26 typedef char *NPSTR;
27 typedef char *LPMSG;
28 typedef int *LPINT;
29 typedef void *LPVOID;
30 typedef long (*FARPROC)();
31 typedef int CATCHBUF[9];
32 typedef int *LPCATCHBUF;
34 #define TRUE 1
35 #define FALSE 0
36 #define CW_USEDEFAULT ((int)0x8000)
37 #define FAR
38 #define NEAR
39 #define PASCAL
40 #ifndef NULL
41 #define NULL (void *)0
42 #endif
44 typedef struct { short left, top, right, bottom; } RECT;
45 typedef RECT *LPRECT;
46 typedef RECT *NPRECT;
47 typedef RECT *PRECT;
49 typedef struct {
50 HDC hdc;
51 BOOL fErase;
52 RECT rcPaint;
53 BOOL fRestore, fIncUpdate;
54 BYTE rgbReserved[16];
55 } PAINTSTRUCT;
57 typedef PAINTSTRUCT *PPAINTSTRUCT;
58 typedef PAINTSTRUCT *NPPAINTSTRUCT;
59 typedef PAINTSTRUCT *LPPAINTSTRUCT;
61 typedef struct {
62 WORD style;
63 LONG (*lpfnWndProc)() __attribute__ ((packed));
64 short cbClsExtra, cbWndExtra;
65 HANDLE hInstance;
66 HICON hIcon;
67 HCURSOR hCursor;
68 HBRUSH hbrBackground;
69 LPSTR lpszMenuName, lpszClassName;
70 } WNDCLASS;
72 typedef WNDCLASS * PWNDCLASS;
73 typedef WNDCLASS * NPWNDCLASS;
74 typedef WNDCLASS * LPWNDCLASS;
76 typedef struct { int x, y; } POINT;
77 typedef POINT *PPOINT;
78 typedef POINT *NPPOINT;
79 typedef POINT *LPPOINT;
81 typedef struct {
82 HWND hwnd;
83 WORD message, wParam;
84 long lParam;
85 DWORD time;
86 POINT pt;
87 } MSG;
89 typedef WORD ATOM;
91 typedef struct tagBITMAP
93 unsigned short bmType;
94 unsigned short bmWidth;
95 unsigned short bmHeight;
96 unsigned short bmWidthBytes;
97 unsigned char bmPlanes;
98 unsigned char bmBitsPixel;
99 unsigned long bmBits __attribute__ ((packed));
100 } BITMAP;
102 typedef BITMAP *PBITMAP;
103 typedef BITMAP *NPBITMAP;
104 typedef BITMAP *LPBITMAP;
106 typedef struct { WORD lbStyle; DWORD lbColor; int lbHatch; } LOGBRUSH;
107 typedef LOGBRUSH *PLOGBRUSH;
108 typedef LOGBRUSH *NPLOGBRUSH;
109 typedef LOGBRUSH *LPLOGBRUSH;
111 #define LF_FACESIZE 32
112 typedef struct {
113 int lfHeight, lfWidth, lfEscapement, lfOrientation, lfWeight;
114 BYTE lfItalic, lfUnderline, lfStrikeOut, lfCharSet;
115 BYTE lfOutPrecision, lfClipPrecision, lfQuality, lfPitchAndFamily;
116 BYTE lfFaceName[LF_FACESIZE];
117 } LOGFONT;
118 typedef LOGFONT *PLOGFONT;
119 typedef LOGFONT *NPLOGFONT;
120 typedef LOGFONT *LPLOGFONT;
122 typedef struct PALETTEENTRY {
123 BYTE peRed, peGreen, peBlue, peFlags;
124 } PALETTEENTRY;
125 typedef PALETTEENTRY *LPPALETTEENTRY;
127 typedef struct {
128 WORD palVersion, palNumEntries;
129 PALETTEENTRY palPalEntries[1];
130 } LOGPALETTE;
131 typedef LOGPALETTE *PLOGPALETTE;
132 typedef LOGPALETTE *NPLOGPALETTE;
133 typedef LOGPALETTE *LPLOGPALETTE;
135 typedef struct { WORD lopnStyle; POINT lopnWidth; DWORD lopnColor; } LOGPEN;
136 typedef LOGPEN *PLOGPEN;
137 typedef LOGPEN *NPLOGPEN;
138 typedef LOGPEN *LPLOGPEN;
140 typedef struct {
141 DWORD rdSize;
142 WORD rdFunction, rdParam[1];
143 } METARECORD;
144 typedef METARECORD *LPMETARECORD;
145 typedef METARECORD *NPMETARECORD;
146 typedef METARECORD *PMETARECORD;
148 /* Unimplemented structs */
149 typedef struct { BYTE rgbBlue, rgbGreen, rgbRed, rgbReserved; } RGBQUAD;
150 typedef struct { BYTE rgbtBlue, rgbtGreen, rgbtRed; } RGBTRIPLE;
152 typedef struct tagBITMAPINFOHEADER
154 unsigned long biSize;
155 unsigned long biWidth;
156 unsigned long biHeight;
157 unsigned short biPlanes;
158 unsigned short biBitCount;
159 unsigned long biCompression;
160 unsigned long biSizeImage;
161 unsigned long biXPelsPerMeter;
162 unsigned long biYPelsPerMeter;
163 unsigned long biClrUsed;
164 unsigned long biClrImportant;
165 } BITMAPINFOHEADER;
167 typedef BITMAPINFOHEADER * LPBITMAPINFOHEADER;
168 typedef BITMAPINFOHEADER * NPBITMAPINFOHEADER;
169 typedef BITMAPINFOHEADER * PBITMAPINFOHEADER;
171 typedef struct {
172 BITMAPINFOHEADER bmiHeader;
173 RGBQUAD bmiColors[1];
174 } BITMAPINFO;
175 typedef BITMAPINFO *LPBITMAPINFO;
176 typedef BITMAPINFO *NPBITMAPINFO;
177 typedef BITMAPINFO *PBITMAPINFO;
179 typedef struct tagBITMAPCOREHEADER
181 unsigned long bcSize;
182 unsigned short bcWidth;
183 unsigned short bcHeight;
184 unsigned short bcPlanes;
185 unsigned short bcBitCount;
186 } BITMAPCOREHEADER;
188 typedef struct {
189 BYTE Id; /* much more .... */
190 } DCB;
192 typedef struct {
193 BYTE i; /* much more .... */
194 } COMSTAT;
196 typedef struct {
197 BYTE i; /* much more .... */
198 } TEXTMETRIC;
199 typedef TEXTMETRIC *PTEXTMETRIC;
200 typedef TEXTMETRIC *LPTEXTMETRIC;
201 typedef TEXTMETRIC *NPTEXTMETRIC;
203 typedef struct {
204 BYTE i; /* much more .... */
205 } KANJISTRUCT;
206 typedef KANJISTRUCT *LPKANJISTRUCT;
207 typedef KANJISTRUCT *NPKANJISTRUCT;
208 typedef KANJISTRUCT *PKANJISTRUCT;
210 typedef struct {
211 BYTE cBytes, fFixedDisk;
212 WORD nErrCode;
213 BYTE reserved[4], szPathName[128];
214 } OFSTRUCT;
215 typedef OFSTRUCT *POFSTRUCT;
216 typedef OFSTRUCT *NPOFSTRUCT;
217 typedef OFSTRUCT *LPOFSTRUCT;
219 #define OF_READ 0x0000
220 #define OF_WRITE 0x0001
221 #define OF_READWRITE 0x0002
223 typedef struct
225 HANDLE objectHandle[1];
226 }HANDLETABLE;
227 typedef HANDLETABLE *LPHANDLETABLE;
229 #define CS_VREDRAW 0x0001
230 #define CS_HREDRAW 0x0002
231 #define CS_KEYCVTWINDOW 0x0004
232 #define CS_KBLCLKS 0x0008
234 #define MAKEINTRESOURCE(i) (LPSTR)((DWORD)((WORD)(i)))
236 #define IDI_APPLICATION MAKEINTRESOURCE(32512)
237 #define IDI_HAND MAKEINTRESOURCE(32513)
238 #define IDI_QUESTION MAKEINTRESOURCE(32514)
239 #define IDI_EXCLAMATION MAKEINTRESOURCE(32515)
240 #define IDI_ASTERISK MAKEINTRESOURCE(32516)
242 #define IDC_ARROW MAKEINTRESOURCE(32512)
243 #define IDC_IBEAM MAKEINTRESOURCE(32513)
244 #define IDC_WAIT MAKEINTRESOURCE(32514)
245 #define IDC_CROSS MAKEINTRESOURCE(32515)
246 #define IDC_UPARROW MAKEINTRESOURCE(32516)
247 #define IDC_SIZE MAKEINTRESOURCE(32540)
248 #define IDC_ICON MAKEINTRESOURCE(32541)
249 #define IDC_SIZENWSE MAKEINTRESOURCE(32542)
250 #define IDC_SIZENESW MAKEINTRESOURCE(32543)
251 #define IDC_SIZEWE MAKEINTRESOURCE(32544)
252 #define IDC_SIZENS MAKEINTRESOURCE(32545)
254 enum { WHITE_BRUSH, LTGRAY_BRUSH, GRAY_BRUSH, DKGRAY_BRUSH,
255 BLACK_BRUSH, NULL_BRUSH, HOLLOW_BRUSH, WHITE_PEN,
256 BLACK_PEN, NULL_PEN, OEM_FIXED_FONT, ANSI_FIXED_FONT,
257 ANSI_VAR_FONT, SYSTEM_FONT_FONT, DEVICE_DEFAULT_FONT,
258 DEFAULT_PALETTE, SYSTEM_FIXED_FONT };
260 enum { WM_NULL, WM_CREATE, WM_DESTROY, WM_MOVE, WM_UNUSED0, WM_SIZE, WM_ACTIVATE,
261 WM_SETFOCUS, WM_KILLFOCUS, WM_UNUSED1, WM_ENABLE, WM_SETREDRAW,
262 WM_SETTEXT, WM_GETTEXT, WM_GETTEXTLENGTH, WM_PAINT, WM_CLOSE,
263 WM_QUERYENDSESSION, WM_QUIT, WM_QUERYOPEN, WM_ERASEBKGND,
264 WM_SYSCOLORCHANGE, WM_ENDSESSION, WM_UNUSED2,
265 WM_SHOWWINDOW, WM_CTLCOLOR, WM_WININICHANGE, WM_DEVMODECHANGE,
266 WM_ACTIVATEAPP, WM_FONTCHANGE, WM_TIMECHANGE, WM_CANCELMODE, WM_SETCURSOR,
267 WM_MOUSEACTIVATE, WM_CHILDACTIVATE, WM_QUEUESYNC, WM_GETMINMAXINFO,
268 WM_UNUSED3, WM_PAINTICON, WM_ICONERASEBKGND, WM_NEXTDLGCTL,
269 WM_UNUSED4, WM_SPOOLERSTATUS, WM_DRAWITEM, WM_MEASUREITEM,
270 WM_DELETEITEM, WM_VKEYTOITEM,
271 WM_CHARTOITEM, WM_SETFONT, WM_GETFONT };
273 #define WM_COMMAND 0x0111
275 enum { SW_HIDE, SW_SHOWNORMAL, SW_NORMAL, SW_SHOWMINIMIZED, SW_SHOWMAXIMIZED,
276 SW_MAXIMIZE, SW_SHOWNOACTIVATE, SW_SHOW, SW_MINIMIZE,
277 SW_SHOWMINNOACTIVE, SW_SHOWNA, SW_RESTORE };
279 #define MF_INSERT 0
280 #define MF_CHANGE 0x0080
281 #define MF_APPEND 0x0100
282 #define MF_DELETE 0x0200
283 #define MF_REMOVE 0x1000
284 #define MF_BYCOMMAND 0
285 #define MF_BYPOSITION 0x0400
286 #define MF_SEPARATOR 0x080
287 #define MF_ENABLED 0
288 #define MF_GRAYED 0x0001
289 #define MF_DISABLED 0x0002
290 #define MF_UNCHECKED 0
291 #define MF_CHECKED 0x0008
292 #define MF_USECHECKBITMAPS 0x0200
293 #define MF_STRING 0
294 #define MF_BITMAP 0x0004
295 #define MF_OWNERDRAW 0x0100
296 #define MF_POPUP 0x0010
297 #define MF_MENUBARBREAK 0x0020
298 #define MF_MENUBREAK 0x0040
299 #define MF_UNHILITE 0
300 #define MF_HILITE 0x0080
301 #define MF_SYSMENU 0x2000
302 #define MF_HELP 0x4000
303 #define MF_MOUSESELECT 0x8000
305 #ifndef NOWINOFFSETS
306 #define GCW_HBRBACKGROUND (-10)
307 #endif
309 #define MB_OK 0
310 #define MB_ICONINFORMATION 0x0040
312 #define DT_TOP 0
313 #define DT_LEFT 0
314 #define DT_CENTER 1
315 #define DT_RIGHT 2
316 #define DT_VCENTER 4
317 #define DT_BOTTOM 8
318 #define DT_WORDBREAK 16
319 #define DT_SINGLELINE 32
320 #define DT_EXPANDTABS 64
321 #define DT_TABSTOP 128
322 #define DT_NOCLIP 256
323 #define DT_EXTERNALLEADING 512
324 #define DT_CALCRECT 1024
325 #define DT_NOPREFIX 2048
326 #define DT_INTERNAL 4096
331 #define WS_OVERLAPPED 0x00000000L
332 #define WS_POPUP 0x80000000L
333 #define WS_CHILD 0x40000000L
334 #define WS_MINIMIZE 0x20000000L
335 #define WS_VISIBLE 0x10000000L
336 #define WS_DISABLED 0x08000000L
337 #define WS_CLIPSIBLINGS 0x04000000L
338 #define WS_CLIPCHILDREN 0x02000000L
339 #define WS_MAXIMIZE 0x01000000L
340 #define WS_CAPTION 0x00C00000L
341 #define WS_BORDER 0x00800000L
342 #define WS_DLGFRAME 0x00400000L
343 #define WS_VSCROLL 0x00200000L
344 #define WS_HSCROLL 0x00100000L
345 #define WS_SYSMENU 0x00080000L
346 #define WS_THICKFRAME 0x00040000L
347 #define WS_GROUP 0x00020000L
348 #define WS_TABSTOP 0x00010000L
349 #define WS_MINIMIZEBOX 0x00020000L
350 #define WS_MINIMIZEBOX 0x00020000L
351 #define WS_MAXIMIZEBOX 0x00010000L
352 #define WS_TILED WS_OVERLAPPED
353 #define WS_ICONIC WS_MINIMIZE
354 #define WS_SIZEBOX WS_THICKFRAME
355 #define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME| WS_MINIMIZEBOX | WS_MAXIMIZEBOX)
356 #define WS_POPUPWINDOW (WS_POPUP | WS_BORDER | WS_SYSMENU)
357 #define WS_CHILDWINDOW (WS_CHILD)
358 #define WS_TILEDWINDOW (WS_OVERLAPPEDWINDOW)
360 #define GMEM_MOVEABLE 0x0002
362 #ifdef _WIN_CODE_SECTION
363 #define F(ret,name) ret name(void) {dte(#name, 0);}
364 #define Fa(ret,name,t1,a1) ret name(t1 a1) {dte(#name, 1, #t1,a1); }
365 #define Fb(ret,name,t1,a1,t2,a2) ret name(t1 a1,t2 a2) { dte(#name, 2, #t1,a1,#t2,a2); }
366 #define Fc(ret,name,t1,a1,t2,a2,t3,a3) ret name(t1 a1,t2 a2,t3 a3){dte(#name,3,#t1,a1,#t2,a2,#t3,a3); }
367 #define Fd(ret,name,t1,a1,t2,a2,t3,a3,t4,a4) ret name(t1 a1,t2 a2,t3 a3,t4 a4){dte(#name,4,#t1,a1,#t2,a2,#t3,a3,#t4,a4);}
368 #define Fe(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5) ret name( t1 a1,t2 a2,t3 a3,t4 a4,t5 a5) {dte(#name,5,#t1,a1,#t2,a2,#t3,a3,#t4,a4,#t5,a5);}
369 #define Ff(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6) {dte(#name,6,#t1,a1,#t2,a2,#t3,a3,#t4,a4,#t5,a5,#t6,a6);}
370 #define Fg(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7) ret name( t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7) {dte(#name,7,#t1,a1,#t2,a2,#t3,a3,#t4,a4,#t5,a5,#t6,a6,#t7,a7);}
371 #define Fh(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8){dte(#name,8,#t1,a1,#t2,a2,#t3,a3,#t4,a4,#t5,a5,#t6,a6,#t7,a7,#t8,a8);}
372 #define Fi(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9) {dte(#name,9,#t1,a1,#t2,a2,#t3,a3,#t4,a4,#t5,a5,#t6,a6,#t7,a7,#t8,a8,#t9,a9);}
373 #define Fj(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10){dte(#name,10,#t1,a1,#t2,a2,#t3,a3,#t4,a4,#t5,a5,#t6,a6,#t7,a7,#t8,a8,#t9,a9,#t10,a10);}
374 #define Fk(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11) ret name (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11){dte(#name,11, #t1,a1,#t2,a2,#t3,a3,#t4,a4,#t5,a5,#t6,a6,#t7,a7,#t8,a8,#t9,a9,#t10,a10,#t11,a11);}
375 #define Fl(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12){dte(#name,12,#t1,a1,#t2,a2,#t3,a3,#t4,a4,#t5,a5,#t6,a6,#t7,a7,#t8,a8,#t9,a9,#t10,a10,#t11,a11,#t12,a12);}
376 #define Fm(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12,t13,a13) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12,t13 a13){dte(#name,13,#t1,a1,#t2,a2,#t3,a3,#t4,a4,#t5,a5,#t6,a6,#t7,a7,#t8,a8,#t9,a9,#t10,a10,#t11,a11,#t12,a12,#t13,a13);}
377 #define Fn(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12,t13,a13,t14,a14) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12,t13 a13,t14 a14){dte(#name,14,#t1,a1,#t2,a2,#t3,a3,#t4,a4,#t5,a5,#t6,a6,#t7,a7,#t8,a8,#t9,a9,#t10,a10,#t11,a11,#t12,a12,#t13,a13,#t14,a14);}
378 #else
379 #define F(ret,name) ret name(void);
380 #define Fa(ret,name,t1,a1) ret name(t1 a1);
381 #define Fb(ret,name,t1,a1,t2,a2) ret name(t1 a1,t2 a2);
382 #define Fc(ret,name,t1,a1,t2,a2,t3,a3) ret name(t1 a1,t2 a2,t3 a3);
383 #define Fd(ret,name,t1,a1,t2,a2,t3,a3,t4,a4) ret name(t1 a1,t2 a2,t3 a3,t4 a4);
384 #define Fe(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5) ret name( t1 a1,t2 a2,t3 a3,t4 a4,t5 a5);
385 #define Ff(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6);
386 #define Fg(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7) ret name( t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7);
387 #define Fh(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8);
388 #define Fi(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9);
389 #define Fj(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10);
390 #define Fk(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11) ret name (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11);
391 #define Fl(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12);
392 #define Fm(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12,t13,a13) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12,t13 a13);
393 #define Fn(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12,t13,a13,t14,a14) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12,t13 a13,t14 a14);
394 #endif
396 int wsprintf(LPSTR a,LPSTR b,...);
397 #endif
399 #if !defined(_WIN_CODE_SECTION) || defined(_WINARGS)
401 /* Implemented functions */
402 F(HMENU,CreateMenu)
403 Fa(BOOL,IsCharAlpha,char,ch)
404 Fa(BOOL,IsCharAlphaNumeric,char,ch)
405 Fa(BOOL,IsCharLower,char,ch)
406 Fa(BOOL,IsCharUpper,char,ch)
407 Fa(BOOL,RegisterClass,LPWNDCLASS,a)
408 Fa(BOOL,TranslateMessage,LPMSG,a)
409 Fa(int,_lclose,int,a)
410 Fb(int,_lopen,LPSTR,a,int,b)
411 Fa(int,lstrlen,LPSTR,a)
412 Fa(long,DispatchMessage,MSG *,msg)
413 Fa(void,UpdateWindow,HWND,a)
414 Fb(BOOL,ExitWindows,DWORD,dwReserved,WORD,wReturnCode)
415 Fb(BOOL,ShowWindow,HWND,a,int,b)
416 Fb(HDC,BeginPaint,HWND,a,LPPAINTSTRUCT,b)
417 Fb(LPSTR,lstrcat,LPSTR,a,LPSTR,b )
418 Fb(LPSTR,lstrcpy,LPSTR,a,LPSTR,b )
419 Fb(int,_lcreat,LPSTR,a,int,b)
420 Fb(int,lstrcmp,LPSTR,a,LPSTR,b )
421 Fb(int,lstrcmpi,LPSTR,a,LPSTR,b )
422 Fb(void,EndPaint,HWND,a,LPPAINTSTRUCT,b)
423 Fb(void,GetClientRect,HWND,a,LPRECT,b)
424 Fc(BOOL,LineTo,HDC,a,int,b,int,c)
425 Fc(LONG,_llseek,int,a,long,b,int,c)
426 Fc(WORD,_lread,int,a,LPSTR,b,int,c)
427 Fc(WORD,_lwrite,int,a,LPSTR,b,int,c)
428 Fc(int,FillRect,HDC,a,LPRECT,b,HBRUSH,c)
429 Fc(DWORD,MoveTo,HDC,a,int,b,int,c)
430 Fd(BOOL,AppendMenu,HMENU,a,WORD,b,WORD,c,LPSTR,d)
431 Fd(BOOL,GetMessage,LPMSG,msg,HWND,b,WORD,c,WORD,d)
432 Fe(BOOL,Rectangle,HDC,a,int,xLeft,int,yTop,int,xRight,int,yBottom)
433 Fe(int,DrawText,HDC,a,LPSTR,str,int,c,LPRECT,d,WORD,flag)
434 Fi(BOOL,Arc,HDC,a,int,xLeft,int,yTop,int,xRight,int,yBottom,int,xStart,int,yStart,int,xEnd,int,yEnd)
435 Fi(BOOL,Chord,HDC,a,int,xLeft,int,yTop,int,xRight,int,yBottom,int,xStart,int,yStart,int,xEnd,int,yEnd)
436 Fi(BOOL,Pie,HDC,a,int,xLeft,int,yTop,int,xRight,int,yBottom,int,xStart,int,yStart,int,xEnd,int,yEnd)
437 Fk(HWND,CreateWindow,LPSTR,szAppName,LPSTR,Label,DWORD,ol,int,x,int,y,int,w,int,h,HWND,d,HMENU,e,,HANDLE i,LPSTR,g)
438 #endif
440 F(BOOL,AnyPopup)
441 F(BOOL,CloseClipboard)
442 F(BOOL,EmptyClipboard)
443 F(BOOL,GetInputState)
444 F(BOOL,InSendMessage)
445 F(DWORD,GetCurrentTime)
446 F(DWORD,GetMessagePos)
447 F(DWORD,GetTickCount)
448 F(HANDLE,GetCurrentTask)
449 F(HMENU,CreatePopupMenu)
450 F(HWND,GetActiveWindow)
451 F(HWND,GetCapture)
452 F(HWND,GetClipboardOwner)
453 F(HWND,GetClipboardViewer)
454 F(HWND,GetDesktopHwnd)
455 F(HWND,GetDesktopWindow)
456 F(HWND,GetFocus)
457 F(HWND,GetSysModalWindow)
458 F(LONG,GetMenuCheckMarkDimensions)
459 F(LONG,GetMessageTime)
460 F(LONG,GetWinFlags)
461 F(LPINT,GetThresholdEvent)
462 /*F(LPSTR,GetDOSEnvironment)*/
463 F(LPSTR,ValidateFreeSpaces)
464 F(void,ValidateCodeSegments)
465 F(WORD,GetCaretBlinkTime)
466 F(WORD,GetCurrentPDB)
467 F(WORD,GetDoubleClickTime)
468 F(WORD,GetNumTasks)
469 F(WORD,GetVersion)
470 F(int,CountClipboardFormats)
471 F(int,GetKBCodePage)
472 F(int,GetThresholdStatus)
473 F(int,OpenSound)
474 F(int,ProfInsChk)
475 F(int,StartSound)
476 F(int,StopSound)
477 F(int,SyncAllVoices)
478 F(long,GetDialogBaseUnits)
479 F(void,CloseSound)
480 F(void,DebugBreak)
481 F(void,DestroyCaret)
482 F(void,ProfClear)
483 F(void,ProfFinish)
484 F(void,ProfFlush)
485 F(void,ProfStart)
486 F(void,ProfStop)
487 F(void,ReleaseCapture)
488 F(void,SwitchStackBack)
489 F(void,WaitMessage)
490 F(void,Yield)
491 Fa(ATOM,AddAtom,LPSTR,a)
492 Fa(ATOM,DeleteAtom,ATOM,a)
493 Fa(ATOM,FindAtom,LPSTR,a)
494 Fa(ATOM,GlobalAddAtom,LPSTR,a)
495 Fa(ATOM,GlobalDeleteAtom,ATOM,a)
496 Fa(ATOM,GlobalFindAtom,LPSTR,a)
497 Fa(BOOL,DeleteDC,HDC,a)
498 Fa(BOOL,DeleteMetaFile,HANDLE,a)
499 Fa(BOOL,DeleteObject,HANDLE,a)
500 Fa(BOOL,DestroyCursor,HCURSOR,a)
501 Fa(BOOL,DestroyIcon,HICON,a)
502 Fa(BOOL,DestroyMenu,HMENU,a)
503 Fa(BOOL,DestroyWindow,HWND,a)
504 Fa(BOOL,EnableHardwareInput,BOOL,a)
505 Fa(BOOL,FreeModule,HANDLE,a)
506 Fa(BOOL,FreeResource,HANDLE,a)
507 Fa(BOOL,GlobalUnWire,HANDLE,a)
508 Fa(BOOL,GlobalUnfix,HANDLE,a)
509 Fa(BOOL,GlobalUnlock,HANDLE,a)
510 Fa(BOOL,InitAtomTable,int,a)
511 Fa(BOOL,IsClipboardFormatAvailable,WORD,a)
512 Fa(BOOL,IsIconic,HWND,a)
513 Fa(BOOL,IsRectEmpty,LPRECT,a)
514 Fa(BOOL,IsTwoByteCharPrefix,char,a)
515 Fa(BOOL,IsWindow,HWND,a)
516 Fa(BOOL,IsWindowEnabled,HWND,a)
517 Fa(BOOL,IsWindowVisible,HWND,a)
518 Fa(BOOL,IsZoomed,HWND,a)
519 Fa(BOOL,LocalUnlock,HANDLE,a)
520 Fa(BOOL,OpenClipboard,HWND,a)
521 Fa(BOOL,OpenIcon,HWND,a)
522 Fa(BOOL,RemoveFontResource,LPSTR,a)
523 Fa(BOOL,SetErrorMode,WORD,a)
524 Fa(BOOL,SetMessageQueue,int,a)
525 Fa(BOOL,SwapMouseButton,BOOL,a)
526 Fa(BOOL,UnrealizeObject,HBRUSH,a)
527 Fa(BYTE,GetTempDrive,BYTE,a)
528 Fa(DWORD,GetAspectRatioFilter,HDC,a)
529 Fa(DWORD,GetBitmapDimension,HBITMAP,a)
530 Fa(DWORD,GetBkColor,HDC,a)
531 Fa(DWORD,GetBrushOrg,HDC,a)
532 Fa(DWORD,GetCurrentPosition,HDC,a)
533 Fa(DWORD,GetDCOrg,HDC,a)
534 Fa(DWORD,GetFreeSpace,WORD,a)
535 Fa(DWORD,GetSysColor,int,a)
536 Fa(DWORD,GetTextColor,HDC,a)
537 Fa(DWORD,GetViewportExt,HDC,a)
538 Fa(DWORD,GetViewportOrg,HDC,a)
539 Fa(DWORD,GetWindowExt,HDC,a)
540 Fa(DWORD,GetWindowOrg,HDC,a)
541 Fa(DWORD,GlobalCompact,DWORD,a)
542 Fa(DWORD,GlobalHandle,WORD,a)
543 Fa(DWORD,GlobalSize,HANDLE,a)
544 Fa(DWORD,OemKeyScan,WORD,a)
545 Fa(FARPROC,LocalNotify,FARPROC,a)
546 Fa(HANDLE,BeginDeferWindowPos,int,nNumWindows)
547 Fa(HANDLE,CloseMetaFile,HANDLE,a)
548 Fa(HANDLE,CreateMetaFile,LPSTR,a)
549 Fa(HANDLE,GetAtomHandle,ATOM,a)
550 Fa(HANDLE,GetClipboardData,WORD,a)
551 Fa(HANDLE,GetCodeHandle,FARPROC,a)
552 Fa(HANDLE,GetMetaFile,LPSTR,a)
553 Fa(HANDLE,GetMetaFileBits,HANDLE,a)
554 Fa(HANDLE,GetModuleHandle,LPSTR,a)
555 Fa(HANDLE,GetStockObject,int,a)
556 Fa(HANDLE,GetWindowTask,HWND,a)
557 Fa(HANDLE,GlobalFree,HANDLE,a)
558 Fa(HANDLE,GlobalLRUNewest,HANDLE,a)
559 Fa(HANDLE,GlobalLRUOldest,HANDLE,a)
560 Fa(HANDLE,LoadLibrary,LPSTR,a)
561 Fa(HANDLE,LocalFree,HANDLE,a)
562 Fa(HANDLE,LocalHandle,WORD,a)
563 Fa(HANDLE,LockSegment,WORD,a)
564 Fa(HANDLE,SetMetaFileBits,HANDLE,a)
565 Fa(HANDLE,UnlockSegment,WORD,a)
566 Fa(HBITMAP,CreateBitmapIndirect,BITMAP FAR*,a)
567 Fa(HBRUSH,CreateBrushIndirect,LOGBRUSH FAR*,a)
568 Fa(HBRUSH,CreatePatternBrush,HBITMAP,a)
569 Fa(HBRUSH,CreateSolidBrush,DWORD,a)
570 Fa(HCURSOR,SetCursor,HCURSOR,a)
571 Fa(HDC,CreateCompatibleDC,HDC,a)
572 Fa(HDC,GetDC,HWND,a)
573 Fa(HDC,GetWindowDC,HWND,a)
574 Fa(HFONT,CreateFontIndirect,LOGFONT FAR*,a)
575 Fa(HMENU,GetMenu,HWND,a)
576 Fa(HMENU,LoadMenuIndirect,LPSTR,a)
577 Fa(HPALETTE,CreatePalette,LPLOGPALETTE,a)
578 Fa(HPEN,CreatePenIndirect,LOGPEN FAR*,a)
579 Fa(HRGN,CreateEllipticRgnIndirect,LPRECT,a)
580 Fa(HRGN,CreateRectRgnIndirect,LPRECT,a)
581 Fa(HWND,GetLastActivePopup,HWND,a)
582 Fa(HWND,GetParent,HWND,a)
583 Fa(HWND,GetTopWindow,HWND,a)
584 Fa(HWND,SetActiveWindow,HWND,a)
585 Fa(HWND,SetCapture,HWND,a)
586 Fa(HWND,SetClipboardViewer,HWND,a)
587 Fa(HWND,SetFocus,HWND,a)
588 Fa(HWND,SetSysModalWindow,HWND,a)
589 Fa(HWND,WindowFromPoint,POINT,a)
590 Fa(LONG,SetSwapAreaSize,WORD,a)
591 Fa(LPSTR,AnsiLower,LPSTR,a)
592 Fa(LPSTR,AnsiNext,LPSTR,a)
593 Fa(LPSTR,AnsiUpper,LPSTR,a)
594 Fa(LPSTR,GlobalLock,HANDLE,a)
595 Fa(LPSTR,GlobalWire,HANDLE,a)
596 Fa(LPSTR,LockResource,HANDLE,a)
597 Fa(void,GlobalFix,HANDLE,a)
598 Fa(void,GlobalNotify,FARPROC,a)
599 Fa(void,LimitEmsPages,DWORD,a)
600 Fa(void,SetConvertHook,BOOL,a)
601 Fa(WORD,AllocDStoCSAlias,WORD,a)
602 Fa(WORD,AllocSelector,WORD,a)
603 Fa(WORD,ArrangeIconicWindows,HWND,a)
604 Fa(WORD,EnumClipboardFormats,WORD,a)
605 Fa(WORD,FreeSelector,WORD,a)
606 Fa(WORD,GetDriveType,int,a)
607 Fa(WORD,GetMenuItemCount,HMENU,a)
608 Fa(WORD,GetTextAlign,HDC,a)
609 Fa(WORD,GlobalFlags,HANDLE,a)
610 Fa(WORD,GlobalPageLock,HANDLE,a)
611 Fa(WORD,GlobalPageUnlock,HANDLE,a)
612 Fa(WORD,LocalCompact,WORD,a)
613 Fa(WORD,LocalFlags,HANDLE,a)
614 Fa(WORD,LocalSize,HANDLE,a)
615 Fa(WORD,RealizePalette,HDC,a)
616 Fa(WORD,RegisterClipboardFormat,LPSTR,a)
617 Fa(WORD,RegisterWindowMessage,LPSTR,a)
618 Fa(WORD,SetHandleCount,WORD,a)
619 Fa(WORD,VkKeyScan,WORD,a)
620 Fa(char NEAR*,LocalLock,HANDLE,a)
621 Fa(int,AddFontResource,LPSTR,a)
622 Fa(int,Catch,LPCATCHBUF,a)
623 Fa(int,ClearCommBreak,int,a)
624 Fa(int,CloseComm,int,a)
625 Fa(int,CountVoiceNotes,int,a)
626 Fa(int,GetAsyncKeyState,int,a)
627 Fa(int,GetBkMode,HDC,a)
628 Fa(int,GetDlgCtrlID,HWND,a)
629 Fa(int,GetKeyState,int,a)
630 Fa(int,GetKeyboardType,int,a)
631 Fa(int,GetMapMode,HDC,a)
632 Fa(int,GetModuleUsage,HANDLE,a)
633 Fa(int,GetPolyFillMode,HDC,a)
634 Fa(int,GetROP2,HDC,a)
635 Fa(int,GetStretchBltMode,HDC,a)
636 Fa(int,GetSystemMetrics,int,a)
637 Fa(int,GetTextCharacterExtra,HDC,a)
638 Fa(int,GetWindowTextLength,HWND,a)
639 Fa(int,SaveDC,HDC,a)
640 Fa(int,SetCommBreak,int,a)
641 Fa(int,SetCommState,DCB*,a)
642 Fa(int,ShowCursor,BOOL,a)
643 Fa(int,UpdateColors,HDC,a)
644 Fa(int,WaitSoundState,int,a)
645 Fa(void,BringWindowToTop,HWND,a)
646 Fa(void,ClipCursor,LPRECT,a)
647 Fa(void,CloseWindow,HWND,a)
648 Fa(void,DrawMenuBar,HWND,a)
649 Fa(void,EndDeferWindowPos,HANDLE,hWinPosInfo)
650 Fa(void,FatalExit,int,a)
651 Fa(void,FreeLibrary,HANDLE,a)
652 Fa(void,FreeProcInstance,FARPROC,a)
653 Fa(void,GetCaretPos,LPPOINT,a)
654 Fa(void,GetCursorPos,LPPOINT,a)
655 Fa(void,GetKeyboardState,BYTE FAR*,a)
656 Fa(void,HideCaret,HWND,a)
657 Fa(void,MessageBeep,WORD,a)
658 Fa(void,OutputDebugString,LPSTR,a)
659 Fa(void,PostQuitMessage,int,a)
660 Fa(void,ReplyMessage,LONG,a)
661 Fa(void,SetCaretBlinkTime,WORD,a)
662 Fa(void,SetDoubleClickTime,WORD,a)
663 Fa(void,SetKeyboardState,BYTE FAR*,a)
664 Fa(void,SetRectEmpty,LPRECT,a)
665 Fa(void,ShowCaret,HWND,a)
666 Fa(void,SwapRecording,WORD,a)
667 Fb(BOOL,CallMsgFilter,LPMSG,a,int,b)
668 Fb(BOOL,ChangeClipboardChain,HWND,a,HWND,b)
669 Fb(BOOL,EnableWindow,HWND,a,BOOL,b)
670 Fb(BOOL,EnumWindows,FARPROC,a,LONG,b)
671 Fb(BOOL,EqualRect,LPRECT,a,LPRECT,b)
672 Fb(BOOL,EqualRgn,HRGN,a,HRGN,b)
673 Fb(BOOL,FlashWindow,HWND,a,BOOL,b)
674 Fb(BOOL,GetTextMetrics,HDC,a,LPTEXTMETRIC,b)
675 Fb(BOOL,InvertRgn,HDC,a,HRGN,b)
676 Fb(BOOL,IsChild,HWND,a,HWND,b)
677 Fb(BOOL,IsDialogMessage,HWND,a,LPMSG,b)
678 Fb(BOOL,KillTimer,HWND,a,int,b)
679 Fb(BOOL,OemToAnsi,LPSTR,a,LPSTR,b)
680 Fb(BOOL,PaintRgn,HDC,a,HRGN,b)
681 Fb(BOOL,PlayMetaFile,HDC,a,HANDLE,b)
682 Fb(BOOL,PtInRect,LPRECT,a,POINT,b)
683 Fb(BOOL,RectInRegion,HRGN,a,LPRECT,b)
684 Fb(BOOL,RectVisible,HDC,a,LPRECT,b)
685 Fb(BOOL,ResizePalette,HPALETTE,a,WORD,b)
686 Fb(BOOL,RestoreDC,HDC,a,int,b)
687 Fb(BOOL,SetConvertParams,int,a,int,b)
688 Fb(BOOL,SetMenu,HWND,a,HMENU,b)
689 Fb(BOOL,TranslateMDISysAccel,HWND,a,LPMSG,b)
690 Fb(BOOL,UnhookWindowsHook,int,a,FARPROC,b)
691 Fb(BOOL,UnregisterClass,LPSTR,a,HANDLE,b)
692 Fb(DWORD,GetNearestColor,HDC,a,DWORD,b)
693 Fb(DWORD,SetBkColor,HDC,a,DWORD,b)
694 Fb(DWORD,SetMapperFlags,HDC,a,DWORD,b)
695 Fb(DWORD,SetTextColor,HDC,a,DWORD,b)
696 Fb(FARPROC,GetProcAddress,HANDLE,a,LPSTR,b)
697 Fb(FARPROC,MakeProcInstance,FARPROC,a,HANDLE,b)
698 Fb(FARPROC,SetWindowsHook,int,a,FARPROC,b)
699 Fb(HANDLE,CopyMetaFile,HANDLE,a,LPSTR,b)
700 Fb(HANDLE,GetProp,HWND,a,LPSTR,b)
701 Fb(HANDLE,GlobalAlloc,WORD,a,DWORD,b)
702 Fb(HANDLE,LoadAccelerators,HANDLE,a,LPSTR,b)
703 Fb(HANDLE,LoadModule,LPSTR,a,LPVOID,b)
704 Fb(HANDLE,LoadResource,HANDLE,a,HANDLE,b)
705 Fb(HANDLE,LocalAlloc,WORD,a,WORD,b)
706 Fb(HANDLE,RemoveProp,HWND,a,LPSTR,b)
707 Fb(HANDLE,SelectObject,HDC,a,HANDLE,b)
708 Fb(HANDLE,SetClipboardData,WORD,a,HANDLE,b)
709 Fb(HBITMAP,LoadBitmap,HANDLE,a,LPSTR,b)
710 Fb(HBRUSH,CreateDIBPatternBrush,HANDLE,a,WORD,b)
711 Fb(HBRUSH,CreateHatchBrush,int,a,DWORD,b)
712 Fb(HCURSOR,LoadCursor,HANDLE,a,LPSTR,b)
713 Fb(HICON,LoadIcon,HANDLE,a,LPSTR,b)
714 Fb(HMENU,GetSubMenu,HMENU,a,int,b)
715 Fb(HMENU,GetSystemMenu,HWND,a,BOOL,b)
716 Fb(HMENU,LoadMenu,HANDLE,a,LPSTR,b)
717 Fb(HWND,ChildWindowFromPoint,HWND,a,POINT,b)
718 Fb(HWND,FindWindow,LPSTR,a,LPSTR,b)
719 Fb(HWND,GetDlgItem,HWND,a,int,b)
720 Fb(HWND,GetNextWindow,HWND,a,WORD,b)
721 Fb(HWND,GetWindow,HWND,a,WORD,b)
722 Fb(HWND,SetParent,HWND,a,HWND,b)
723 Fb(LONG,GetClassLong,HWND,a,int,b)
724 Fb(LONG,GetWindowLong,HWND,a,int,b)
725 Fb(LPSTR,AnsiPrev,LPSTR,a,LPSTR,b)
726 Fb(WORD FAR*,SetCommEventMask,int,a,WORD,b)
727 Fb(WORD,AnsiLowerBuff,LPSTR,a,WORD,b)
728 Fb(WORD,AnsiUpperBuff,LPSTR,a,WORD,b)
729 Fb(WORD,ChangeSelector,WORD,a,WORD,b)
730 Fb(WORD,GetClassWord,HWND,a,int,b)
731 Fb(WORD,GetCommEventMask,int,a,int,b)
732 Fb(WORD,GetMenuItemID,HMENU,a,int,b)
733 Fb(WORD,GetNearestPaletteIndex,HPALETTE,a,DWORD,b)
734 Fb(WORD,GetSystemDirectory,LPSTR,a,WORD,b)
735 Fb(WORD,GetSystemPaletteUse,HDC,a,WORD,b)
736 Fb(WORD,GetWindowWord,HWND,a,int,b)
737 Fb(WORD,GetWindowsDirectory,LPSTR,a,WORD,b)
738 Fb(WORD,IsDlgButtonChecked,HWND,a,int,b)
739 Fb(WORD,LocalShrink,HANDLE,a,WORD,b)
740 Fb(WORD,MapVirtualKey,WORD,a,WORD,b)
741 Fb(WORD,SetSystemPaletteUse,HDC,a,WORD,b)
742 Fb(WORD,SetTextAlign,HDC,a,WORD,b)
743 Fb(WORD,SizeofResource,HANDLE,a,HANDLE,b)
744 Fb(WORD,WinExec,LPSTR,a,WORD,b)
745 Fb(int,AccessResource,HANDLE,a,HANDLE,b)
746 Fb(int,AnsiToOem,LPSTR,a,LPSTR,b)
747 Fb(int,BuildCommDCB,LPSTR,a,DCB*,b)
748 Fb(int,ConvertRequest,HWND,a,LPKANJISTRUCT,b)
749 Fb(int,CopyRect,LPRECT,a,LPRECT,b)
750 Fb(int,EnumProps,HWND,a,FARPROC,b)
751 Fb(int,EscapeCommFunction,int,a,int,b)
752 Fb(int,ExcludeUpdateRgn,HDC,a,HWND,b)
753 Fb(int,FlushComm,int,a,int,b)
754 Fb(int,GetClipBox,HDC,a,LPRECT,b)
755 Fb(int,GetCommError,int,a,COMSTAT*,b)
756 Fb(int,GetCommState,int,a,DCB*,b)
757 Fb(int,GetDeviceCaps,HDC,a,int,b)
758 Fb(int,GetPriorityClipboardFormat,WORD FAR*,a,int,b)
759 Fb(int,GetRgnBox,HRGN,a,LPRECT,b)
760 Fb(int,GetScrollPos,HWND,a,int,b)
761 Fb(int,ReleaseDC,HWND,a,HDC,b)
762 Fb(int,SelectClipRgn,HDC,a,HRGN,b)
763 Fb(int,SetBkMode,HDC,a,int,b)
764 Fb(int,SetMapMode,HDC,a,int,b)
765 Fb(int,SetPolyFillMode,HDC,a,int,b)
766 Fb(int,SetROP2,HDC,a,int,b)
767 Fb(int,SetSoundNoise,int,a,int,b)
768 Fb(int,SetStretchBltMode,HDC,a,int,b)
769 Fb(int,SetTextCharacterExtra,HDC,a,int,b)
770 Fb(int,SetVoiceQueueSize,int,a,int,b)
771 Fb(int,SetVoiceThreshold,int,a,int,b)
772 Fb(int,TransmitCommChar,int,a,char,b)
773 Fb(int,UngetCommChar,int,a,char,b)
774 Fb(void,ClientToScreen,HWND,a,LPPOINT,b)
775 Fb(void,DrawFocusRect,HDC,a,LPRECT,b)
776 Fb(void,EndDialog,HWND,a,int,b)
777 Fb(void,GetCodeInfo,FARPROC,lpProc,LPVOID,lpSegInfo)
778 Fb(void,GetWindowRect,HWND,a,LPRECT,b)
779 Fb(void,InvertRect,HDC,a,LPRECT,b)
780 Fb(void,MapDialogRect,HWND,a,LPRECT,b)
781 Fb(void,ProfSampRate,int,a,int,b)
782 Fb(void,ProfSetup,int,a,int,b)
783 Fb(void,ScreenToClient,HWND,a,LPPOINT,b)
784 Fb(void,SetCaretPos,int,a,int,b)
785 Fb(void,SetCursorPos,int,a,int,b)
786 Fb(void,SetWindowText,HWND,a,LPSTR,b)
787 Fb(void,ShowOwnedPopups,HWND,a,BOOL,b)
788 Fb(void,Throw,LPCATCHBUF,a,int,b)
789 Fb(void,ValidateRect,HWND,a,LPRECT,b)
790 Fb(void,ValidateRgn,HWND,a,HRGN,b)
791 Fc(BOOL,CheckMenuItem,HMENU,a,WORD,b,WORD,c)
792 Fc(BOOL,DPtoLP,HDC,a,LPPOINT,b,int,c)
793 Fc(BOOL,DeleteMenu,HMENU,a,WORD,b,WORD,c)
794 Fc(BOOL,DlgDirSelect,HWND,a,LPSTR,b,int,c)
795 Fc(BOOL,DlgDirSelectComboBox,HWND,a,LPSTR,b,int,c)
796 Fc(BOOL,EnableMenuItem,HMENU,a,WORD,b,WORD,c)
797 Fc(BOOL,EnumChildWindows,HWND,a,FARPROC,b,LONG,c)
798 Fc(BOOL,EnumTaskWindows,HANDLE,a,FARPROC,b,LONG,c)
799 Fc(BOOL,FillRgn,HDC,a,HRGN,b,HBRUSH,c)
800 Fc(BOOL,GetClassInfo,HANDLE,a,LPSTR,b,LPWNDCLASS,c)
801 Fc(BOOL,GetUpdateRect,HWND,a,LPRECT,b,BOOL,c)
802 Fc(BOOL,LPtoDP,HDC,a,LPPOINT,b,int,c)
803 Fc(BOOL,LocalInit,WORD,a,WORD,b,WORD,c)
804 Fc(BOOL,Polygon,HDC,a,LPPOINT,b,int,c)
805 Fc(BOOL,Polyline,HDC,a,LPPOINT,b,int,c)
806 Fc(BOOL,PtInRegion,HRGN,a,int,b,int,c)
807 Fc(BOOL,PtVisible,HDC,a,int,b,int,c)
808 Fc(BOOL,RemoveMenu,HMENU,a,WORD,b,WORD,c)
809 Fc(BOOL,SetProp,HWND,a,LPSTR,b,HANDLE,c)
810 Fc(BOOL,WriteProfileString,LPSTR,a,LPSTR,b,LPSTR,c)
811 Fc(DWORD,GetPixel,HDC,a,int,b,int,c)
812 Fc(DWORD,GetTextExtent,HDC,a,LPSTR,b,int,c)
813 Fc(DWORD,OffsetViewportOrg,HDC,a,int,b,int,c)
814 Fc(DWORD,OffsetWindowOrg,HDC,a,int,b,int,c)
815 Fc(DWORD,SetBitmapDimension,HBITMAP,a,int,b,int,c)
816 Fc(DWORD,SetBrushOrg,HDC,a,int,b,int,c)
817 Fc(DWORD,SetViewportExt,HDC,a,int,b,int,c)
818 Fc(DWORD,SetViewportOrg,HDC,a,int,b,int,c)
819 Fc(DWORD,SetWindowExt,HDC,a,int,b,int,c)
820 Fc(DWORD,SetWindowOrg,HDC,a,int,b,int,c)
821 Fc(FARPROC,SetResourceHandler,HANDLE,a,LPSTR,b,FARPROC,c)
822 Fc(HANDLE,AllocResource,HANDLE,a,HANDLE,b,DWORD,c)
823 Fc(HANDLE,FindResource,HANDLE,a,LPSTR,b,LPSTR,c)
824 Fc(HANDLE,GlobalReAlloc,HANDLE,a,DWORD,b,WORD,c)
825 Fc(HANDLE,LocalReAlloc,HANDLE,a,WORD,b,WORD,c)
826 Fc(HBITMAP,CreateCompatibleBitmap,HDC,a,int,b,int,c)
827 Fc(HBITMAP,CreateDiscardableBitmap,HDC,a,int,b,int,c)
828 Fc(HPALETTE,SelectPalette,HDC,a,HPALETTE,b,BOOL,c)
829 Fc(HPEN,CreatePen,int,a,int,b,DWORD,c)
830 Fc(HRGN,CreatePolygonRgn,LPPOINT,a,int,b,int,c)
831 Fc(HWND,GetNextDlgGroupItem,HWND,a,HWND,b,BOOL,c)
832 Fc(HWND,GetNextDlgTabItem,HWND,a,HWND,b,BOOL,c)
833 Fc(LONG,GetBitmapBits,HBITMAP,a,LONG,b,LPSTR,c)
834 Fc(LONG,SetBitmapBits,HBITMAP,a,DWORD,b,LPSTR,c)
835 Fc(LONG,SetClassLong,HWND,a,int,b,LONG,c)
836 Fc(LONG,SetWindowLong,HWND,a,int,b,LONG,c)
837 Fc(WORD,GetAtomName,ATOM,a,LPSTR,b,int,c)
838 Fc(WORD,GetMenuState,HMENU,a,WORD,b,WORD,c)
839 Fc(WORD,GetProfileInt,LPSTR,a,LPSTR,b,int,c)
840 Fc(WORD,GlobalGetAtomName,ATOM,a,LPSTR,b,int,c)
841 Fc(WORD,SetClassWord,HWND,a,int,b,WORD,c)
842 Fc(WORD,SetWindowWord,HWND,a,int,b,WORD,c)
843 Fc(int,FrameRect,HDC,a,LPRECT,b,HBRUSH,c)
844 Fc(int,GetClassName,HWND,a,LPSTR,b,int,c)
845 Fc(int,GetClipboardFormatName,WORD,a,LPSTR,b,int,c)
846 Fc(int,GetEnvironment,LPSTR,a,LPSTR,b,WORD,c)
847 Fc(int,GetInstanceData,HANDLE,a,NPSTR,b,int,c)
848 Fc(int,GetKeyNameText,LONG,a,LPSTR,b,int,c)
849 Fc(int,GetModuleFileName,HANDLE,a,LPSTR,b,int,c)
850 Fc(int,GetObject,HANDLE,a,int,b,LPSTR,c)
851 Fc(int,GetTextFace,HDC,a,int,b,LPSTR,c)
852 Fc(int,GetUpdateRgn,HWND,a,HRGN,b,BOOL,c)
853 Fc(int,GetWindowText,HWND,a,LPSTR,b,int,c)
854 Fc(int,IntersectRect,LPRECT,a,LPRECT,b,LPRECT,c)
855 Fc(int,MulDiv,int,a,int,b,int,c)
856 Fc(int,OffsetClipRgn,HDC,a,int,b,int,c)
857 Fc(int,OffsetRgn,HRGN,a,int,b,int,c)
858 Fc(int,OpenComm,LPSTR,a,WORD,b,WORD,c)
859 Fc(int,OpenFile,LPSTR,a,LPOFSTRUCT,b,WORD,c)
860 Fc(int,ReadComm,int,a,LPSTR,b,int,c)
861 Fc(int,SetEnvironment,LPSTR,a,LPSTR,b,WORD,c)
862 Fc(int,SetTextJustification,HDC,a,int,b,int,c)
863 Fc(int,SetVoiceEnvelope,int,a,int,b,int,c)
864 Fc(int,SetVoiceSound,int,a,LONG,b,int,c)
865 Fc(int,TranslateAccelerator,HWND,a,HANDLE,b,LPMSG,c)
866 Fc(int,UnionRect,LPRECT,a,LPRECT,b,LPRECT,c)
867 Fc(int,WriteComm,int,a,LPSTR,b,int,c)
868 Fc(int,wvsprintf,LPSTR,a,LPSTR,b,LPSTR,c)
869 Fc(void,AdjustWindowRect,LPRECT,a,LONG,b,BOOL,c)
870 Fc(void,AnsiToOemBuff,LPSTR,a,LPSTR,b,int,c)
871 Fc(void,CheckDlgButton,HWND,a,int,b,WORD,c)
872 Fc(void,InflateRect,LPRECT,a,int,b,int,c)
873 Fc(void,InvalidateRect,HWND,a,LPRECT,b,BOOL,c)
874 Fc(void,InvalidateRgn,HWND,a,HRGN,b,BOOL,c)
875 Fc(void,OemToAnsiBuff,LPSTR,a,LPSTR,b,int,c)
876 Fc(void,OffsetRect,LPRECT,a,int,b,int,c)
877 Fc(void,SetDlgItemText,HWND,a,int,b,LPSTR,c)
878 Fc(void,SetSysColors,int,a,LPINT,b,LONG*,c)
879 Fc(void,ShowScrollBar,HWND,a,WORD,b,BOOL,c)
880 Fc(void,SwitchStackTo,WORD,a,WORD,b,WORD,c)
881 Fd(BOOL,DrawIcon,HDC,a,int,b,int,c,HICON,d)
882 Fd(BOOL,EnumMetaFile,HDC,a,LOCALHANDLE,b,FARPROC,c,BYTE FAR*,d)
883 Fd(BOOL,FloodFill,HDC,a,int,b,int,c,DWORD,d)
884 Fd(BOOL,GetCharWidth,HDC,a,WORD,b,WORD,c,LPINT,d)
885 Fd(BOOL,HiliteMenuItem,HWND,a,HMENU,b,WORD,c,WORD,d)
886 Fd(BOOL,PolyPolygon,HDC,a,LPPOINT,b,LPINT,c,int,d)
887 Fd(BOOL,PostAppMessage,HANDLE,a,WORD,b,WORD,c,LONG,d)
888 Fd(BOOL,PostMessage,HWND,a,WORD,b,WORD,c,LONG,d)
889 Fd(BOOL,WinHelp,HWND,hwndMain,LPSTR,lpszHelp,WORD,usCommand,DWORD,ulData)
890 Fd(BOOL,WritePrivateProfileString,LPSTR,a,LPSTR,b,LPSTR,c,LPSTR,d)
891 Fd(DWORD,DefHookProc,int,a,WORD,b,DWORD,c,FARPROC FAR*,d)
892 Fd(DWORD,SetPixel,HDC,a,int,b,int,c,DWORD,d)
893 Fd(HDC,CreateDC,LPSTR,a,LPSTR,b,LPSTR,c,LPSTR,d)
894 Fd(HDC,CreateIC,LPSTR,a,LPSTR,b,LPSTR,c,LPSTR,d)
895 Fd(HRGN,CreateEllipticRgn,int,a,int,b,int,c,int,d)
896 Fd(HRGN,CreatePolyPolygonRgn,LPPOINT,a,LPINT,b,int,c,int,d)
897 Fd(HRGN,CreateRectRgn,int,a,int,b,int,c,int,d)
898 Fd(HWND,CreateDialog,HANDLE,a,LPSTR,b,HWND,c,FARPROC,d)
899 Fd(HWND,CreateDialogIndirect,HANDLE,a,LPSTR,b,HWND,c,FARPROC,d)
900 Fd(LONG,DefDlgProc,HWND,a,WORD,b,WORD,c,LONG,d)
901 Fd(LONG,DefMDIChildProc,HWND,a,WORD,b,WORD,c,LONG,d)
902 Fd(LONG,DefWindowProc,HWND,a,WORD,b,WORD,c,LONG,d)
903 Fd(LONG,SendMessage,HWND,a,WORD,b,WORD,c,LONG,d)
904 Fd(WORD,GetDlgItemInt,HWND,a,int,b,BOOL FAR*,c,BOOL,d)
905 Fd(WORD,GetPaletteEntries,HPALETTE,a,WORD,b,WORD,c,LPPALETTEENTRY,d)
906 Fd(WORD,GetPrivateProfileInt,LPSTR,a,LPSTR,b,int,c,LPSTR,d)
907 Fd(WORD,GetSystemPaletteEntries,HDC,a,WORD,b,WORD,c,LPPALETTEENTRY,d)
908 Fd(WORD,SetPaletteEntries,HPALETTE,a,WORD,b,WORD,c,LPPALETTEENTRY,d)
909 Fd(WORD,SetTimer,HWND,a,int,d,WORD,b,FARPROC,c)
910 Fd(int,CombineRgn,HRGN,a,HRGN,b,HRGN,c,int,d)
911 Fd(int,DialogBox,HANDLE,a,LPSTR,b,HWND,c,FARPROC,d)
912 Fd(int,DialogBoxIndirect,HANDLE,a,HANDLE,b,HWND,c,FARPROC,d)
913 Fd(int,EnumFonts,HDC,a,LPSTR,b,FARPROC,c,LPSTR,d)
914 Fd(int,EnumObjects,HDC,a,int,b,FARPROC,c,LPSTR,d)
915 Fd(int,GetDlgItemText,HWND,a,int,b,LPSTR,c,int,d)
916 Fd(int,GetTempFileName,BYTE,a,LPSTR,b,WORD,c,LPSTR,d)
917 Fd(int,LoadString,HANDLE,a,WORD,b,LPSTR,c,int,d)
918 Fd(int,MessageBox,HWND,a,LPSTR,b,LPSTR,c,WORD,d)
919 Fd(int,SetScrollPos,HWND,a,int,b,int,c,BOOL,d)
920 Fd(int,SetVoiceNote,int,a,int,b,int,c,int,d)
921 Fd(void,AdjustWindowRectEx,LPRECT,a,LONG,b,BOOL,c,DWORD,d)
922 Fd(void,AnimatePalette,HPALETTE,a,WORD,b,WORD,c,LPPALETTEENTRY,d)
923 Fd(void,CheckRadioButton,HWND,a,int,b,int,c,int,d)
924 Fd(void,CreateCaret,HWND,a,HBITMAP,b,int,c,int,d)
925 Fd(void,GetScrollRange,HWND,a,int,b,LPINT,c,LPINT,d)
926 Fd(void,PlayMetaFileRecord,HDC,a,LPHANDLETABLE,b,LPMETARECORD,c,WORD,d)
927 Fd(void,SetDlgItemInt,HWND,a,int,b,WORD,c,BOOL,d)
928 Fe(BOOL,ChangeMenu,HMENU,a,WORD,b,LPSTR,c,WORD,d,WORD,e)
929 Fe(BOOL,Ellipse,HDC,a,int,b,int,c,int,d,int,e)
930 Fe(BOOL,ExtFloodFill,HDC,a,int,b,int,c,DWORD,d,WORD,e)
931 Fe(BOOL,FrameRgn,HDC,a,HRGN,b,HBRUSH,e,int,c,int,d)
932 Fe(BOOL,InsertMenu,HMENU,a,WORD,b,WORD,c,WORD,d,LPSTR,e)
933 Fe(BOOL,ModifyMenu,HMENU,a,WORD,b,WORD,c,WORD,d,LPSTR,e)
934 Fe(BOOL,PeekMessage,LPMSG,a,HWND,b,WORD,c,WORD,d,WORD,e)
935 Fe(BOOL,SetMenuItemBitmaps,HMENU,a,WORD,b,WORD,c,HBITMAP,d,HBITMAP,e)
936 Fe(BOOL,TextOut,HDC,a,int,b,int,c,LPSTR,d,int,e)
937 Fe(DWORD,GetTabbedTextExtent,HDC,a,LPSTR,b,int,c,int,d,LPINT,e)
938 Fe(DWORD,ScaleViewportExt,HDC,a,int,b,int,c,int,d,int,e)
939 Fe(DWORD,ScaleWindowExt,HDC,a,int,b,int,c,int,d,int,e)
940 Fe(HBITMAP,CreateBitmap,int,a,int,b,BYTE,c,BYTE,d,LPSTR,e)
941 Fe(HWND,CreateDialogIndirectParam,HANDLE,a,LPSTR,b,HWND,c,FARPROC,d,LONG,e)
942 Fe(HWND,CreateDialogParam,HANDLE,a,LPSTR,b,HWND,c,FARPROC,d,LONG,e)
943 Fe(LONG,CallWindowProc,FARPROC,a,HWND,b,WORD,c,WORD,d,LONG,e)
944 Fe(LONG,DefFrameProc,HWND,a,HWND,b,WORD,c,WORD,d,LONG,e)
945 Fe(LONG,SendDlgItemMessage,HWND,a,int,b,WORD,c,WORD,d,LONG,e)
946 Fe(int,DialogBoxIndirectParam,HANDLE,a,HANDLE,b,HWND,c,FARPROC,d,LONG,e)
947 Fe(int,DialogBoxParam,HANDLE,a,LPSTR,b,HWND,c,FARPROC,d,LONG,e)
948 Fe(int,DlgDirList,HWND,a,LPSTR,b,int,c,int,d,WORD,e)
949 Fe(int,DlgDirListComboBox,HWND,a,LPSTR,b,int,c,int,d,WORD,e)
950 Fe(int,Escape,HDC,a,int,b,int,c,LPSTR,d,LPSTR,e)
951 Fe(int,ExcludeClipRect,HDC,a,int,b,int,c,int,d,int,e)
952 Fe(int,GetMenuString,HMENU,a,WORD,b,LPSTR,c,int,d,WORD,e)
953 Fe(int,GetProfileString,LPSTR,a,LPSTR,b,LPSTR,c,LPSTR,d,int,e)
954 Fe(int,IntersectClipRect,HDC,a,int,b,int,c,int,d,int,e)
955 Fe(int,SetVoiceAccent,int,a,int,b,int,c,int,d,int,e)
956 Fe(int,ToAscii,WORD,wVirtKey,WORD,wScanCode,LPSTR,lpKeyState,LPVOID,lpChar,WORD,wFlags)
957 Fe(void,ScrollWindow,HWND,a,int,b,int,c,LPRECT,d,LPRECT,e)
958 Fe(void,SetRect,LPRECT,a,int,b,int,c,int,d,int,e)
959 Fe(void,SetRectRgn,HRGN,a,int,b,int,c,int,d,int,e)
960 Fe(void,SetScrollRange,HWND,a,int,b,int,c,int,d,BOOL,e)
961 Ff(BOOL,PatBlt,HDC,a,int,b,int,c,int,d,int,e,DWORD,f)
962 Ff(HBITMAP,CreateDIBitmap,HDC,a,LPBITMAPINFOHEADER,b,DWORD,c,LPSTR,d,LPBITMAPINFO,e,WORD,f)
963 Ff(HRGN,CreateRoundRectRgn,int,a,int,b,int,c,int,d,int,e,int,f)
964 Ff(int,GetPrivateProfileString,LPSTR,a,LPSTR,b,LPSTR,c,LPSTR,d,int,e,LPSTR,f)
965 Ff(void,LineDDA,int,a,int,b,int,c,int,d,FARPROC,e,LPSTR,f)
966 Ff(void,MoveWindow,HWND,a,int,b,int,c,int,d,int,e,BOOL,f)
967 Fg(BOOL,RoundRect,HDC,a,int,b,int,c,int,d,int,e,int,f,int,g)
968 Fg(BOOL,ScrollDC,HDC,a,int,b,int,c,LPRECT,d,LPRECT,e,HRGN,f,LPRECT,g)
969 Fg(BOOL,TrackPopupMenu,HMENU,a,WORD,b,int,c,int,d,int,e,HWND,f,LPRECT,g)
970 Fg(HCURSOR,CreateCursor,HANDLE,a,int,b,int,c,int,d,int,e,LPSTR,f,LPSTR,g)
971 Fg(HICON,CreateIcon,HANDLE,a,int,b,int,c,BYTE,d,BYTE,e,LPSTR,f,LPSTR,g)
972 Fg(int,GetDIBits,HDC,a,HANDLE,a2,WORD,b,WORD,c,LPSTR,d,LPBITMAPINFO,e,WORD,f)
973 Fg(int,SetDIBits,HDC,a,HANDLE,a2,WORD,b,WORD,c,LPSTR,d,LPBITMAPINFO,e,WORD,f)
974 Fg(void,SetWindowPos,HWND,a,HWND,b,int,c,int,d,int,e,int,f,WORD,g)
975 Fh(BOOL,ExtTextOut,HDC,a,int,b,int,c,WORD,d,LPRECT,e,LPSTR,f,WORD,g,LPINT,h)
976 Fh(HANDLE,DeferWindowPos,HANDLE,hWinPosInfo,HWND,hWnd,HWND,hWndInsertAfter,int,x,int,y,int,cx,int,cy,WORD,wFlags)
977 Fh(LONG,TabbedTextOut,HDC,a,int,b,int,c,LPSTR,d,int,e,int,f,LPINT,g,int,h)
978 Fi(BOOL,BitBlt,HDC,a,int,b,int,c,int,d,int,e,HDC,f,int,g,int,h,DWORD,i)
979 Fi(BOOL,GrayString,HDC,a,HBRUSH,b,FARPROC,c,DWORD,d,int,e,int,f,int,g,int,h,int,i)
980 Fk(BOOL,StretchBlt,HDC,a,int,b,int,c,int,d,int,e,HDC,f,int,g,int,h,int,i,int,j,DWORD,k)
981 Fl(HWND,CreateWindowEx,DWORD,a,LPSTR,b,LPSTR,c,DWORD,d,int,e,int,f,int,g,int,h,HWND,i,HMENU,j,HANDLE,k,LPSTR,l)
982 Fl(int,SetDIBitsToDevice,HDC,a,WORD,b,WORD,c,WORD,d,WORD,e,WORD,f,WORD,g,WORD,h,WORD,i,LPSTR,j,LPBITMAPINFO,k,WORD,l)
983 Fm(int,StretchDIBits,HDC,a,WORD,b,WORD,c,WORD,d,WORD,e,WORD,f,WORD,g,WORD,h,WORD,i,LPSTR,j,LPBITMAPINFO,k,WORD,l,DWORD,m)
984 Fn(HFONT,CreateFont,int,a,int,b,int,c,int,d,int,e,BYTE,f,BYTE,g,BYTE,h,BYTE,i,BYTE,j,BYTE,k,BYTE,l,BYTE,m,LPSTR,n)