1 | /*
|
---|
2 | * Copyright (C) the Wine project
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __WINE_WINE_WINUSER16_H
|
---|
29 | #define __WINE_WINE_WINUSER16_H
|
---|
30 |
|
---|
31 | #include <wine/wingdi16.h> /* wingdi.h needed for COLORREF */
|
---|
32 | #include <winuser.h> /* winuser.h needed for MSGBOXCALLBACK */
|
---|
33 |
|
---|
34 | #include <pshpack1.h>
|
---|
35 |
|
---|
36 | typedef struct tagCOMSTAT16
|
---|
37 | {
|
---|
38 | BYTE status;
|
---|
39 | UINT16 cbInQue;
|
---|
40 | UINT16 cbOutQue;
|
---|
41 | } COMSTAT16,*LPCOMSTAT16;
|
---|
42 |
|
---|
43 | typedef struct tagDCB16
|
---|
44 | {
|
---|
45 | BYTE Id;
|
---|
46 | UINT16 BaudRate;
|
---|
47 | BYTE ByteSize;
|
---|
48 | BYTE Parity;
|
---|
49 | BYTE StopBits;
|
---|
50 | UINT16 RlsTimeout;
|
---|
51 | UINT16 CtsTimeout;
|
---|
52 | UINT16 DsrTimeout;
|
---|
53 |
|
---|
54 | unsigned fBinary :1;
|
---|
55 | unsigned fRtsDisable :1;
|
---|
56 | unsigned fParity :1;
|
---|
57 | unsigned fOutxCtsFlow :1;
|
---|
58 | unsigned fOutxDsrFlow :1;
|
---|
59 | unsigned fDummy :2;
|
---|
60 | unsigned fDtrDisable :1;
|
---|
61 |
|
---|
62 | unsigned fOutX :1;
|
---|
63 | unsigned fInX :1;
|
---|
64 | unsigned fPeChar :1;
|
---|
65 | unsigned fNull :1;
|
---|
66 | unsigned fChEvt :1;
|
---|
67 | unsigned fDtrflow :1;
|
---|
68 | unsigned fRtsflow :1;
|
---|
69 | unsigned fDummy2 :1;
|
---|
70 |
|
---|
71 | CHAR XonChar;
|
---|
72 | CHAR XoffChar;
|
---|
73 | UINT16 XonLim;
|
---|
74 | UINT16 XoffLim;
|
---|
75 | CHAR PeChar;
|
---|
76 | CHAR EofChar;
|
---|
77 | CHAR EvtChar;
|
---|
78 | UINT16 TxDelay;
|
---|
79 | } DCB16, *LPDCB16;
|
---|
80 |
|
---|
81 |
|
---|
82 | typedef struct
|
---|
83 | {
|
---|
84 | LPARAM lParam;
|
---|
85 | WPARAM16 wParam;
|
---|
86 | UINT16 message;
|
---|
87 | HWND16 hwnd;
|
---|
88 | } CWPSTRUCT16, *LPCWPSTRUCT16;
|
---|
89 |
|
---|
90 | typedef struct
|
---|
91 | {
|
---|
92 | LRESULT lResult;
|
---|
93 | LPARAM lParam;
|
---|
94 | WPARAM16 wParam;
|
---|
95 | DWORD message;
|
---|
96 | HWND16 hwnd;
|
---|
97 | } CWPRETSTRUCT16, *LPCWPRETSTRUCT16;
|
---|
98 |
|
---|
99 | /* SetWindowPlacement() struct */
|
---|
100 | typedef struct
|
---|
101 | {
|
---|
102 | UINT16 length;
|
---|
103 | UINT16 flags;
|
---|
104 | UINT16 showCmd;
|
---|
105 | POINT16 ptMinPosition;
|
---|
106 | POINT16 ptMaxPosition;
|
---|
107 | RECT16 rcNormalPosition;
|
---|
108 | } WINDOWPLACEMENT16, *LPWINDOWPLACEMENT16;
|
---|
109 |
|
---|
110 | /****** Window classes ******/
|
---|
111 |
|
---|
112 | typedef struct
|
---|
113 | {
|
---|
114 | UINT16 style;
|
---|
115 | WNDPROC16 lpfnWndProc;
|
---|
116 | INT16 cbClsExtra;
|
---|
117 | INT16 cbWndExtra;
|
---|
118 | HANDLE16 hInstance;
|
---|
119 | HICON16 hIcon;
|
---|
120 | HCURSOR16 hCursor;
|
---|
121 | HBRUSH16 hbrBackground;
|
---|
122 | SEGPTR lpszMenuName;
|
---|
123 | SEGPTR lpszClassName;
|
---|
124 | } WNDCLASS16, *LPWNDCLASS16;
|
---|
125 |
|
---|
126 | typedef struct
|
---|
127 | {
|
---|
128 | UINT cbSize;
|
---|
129 | UINT style;
|
---|
130 | WNDPROC16 lpfnWndProc;
|
---|
131 | INT16 cbClsExtra;
|
---|
132 | INT16 cbWndExtra;
|
---|
133 | HANDLE16 hInstance;
|
---|
134 | HICON16 hIcon;
|
---|
135 | HCURSOR16 hCursor;
|
---|
136 | HBRUSH16 hbrBackground;
|
---|
137 | SEGPTR lpszMenuName;
|
---|
138 | SEGPTR lpszClassName;
|
---|
139 | HICON16 hIconSm;
|
---|
140 | } WNDCLASSEX16, *LPWNDCLASSEX16;
|
---|
141 |
|
---|
142 | typedef struct
|
---|
143 | {
|
---|
144 | HWND16 hwnd;
|
---|
145 | UINT16 message;
|
---|
146 | WPARAM16 wParam;
|
---|
147 | LPARAM lParam;
|
---|
148 | DWORD time;
|
---|
149 | POINT16 pt;
|
---|
150 | } MSG16, *LPMSG16;
|
---|
151 |
|
---|
152 | typedef struct
|
---|
153 | {
|
---|
154 | MSG16 msg;
|
---|
155 | WORD wParamHigh;
|
---|
156 | } MSG32_16, *LPMSG16_32;
|
---|
157 |
|
---|
158 | /* Cursors / Icons */
|
---|
159 |
|
---|
160 | typedef struct tagCURSORICONINFO
|
---|
161 | {
|
---|
162 | POINT16 ptHotSpot;
|
---|
163 | WORD nWidth;
|
---|
164 | WORD nHeight;
|
---|
165 | WORD nWidthBytes;
|
---|
166 | BYTE bPlanes;
|
---|
167 | BYTE bBitsPerPixel;
|
---|
168 | } CURSORICONINFO;
|
---|
169 |
|
---|
170 | typedef struct {
|
---|
171 | BOOL16 fIcon;
|
---|
172 | WORD xHotspot;
|
---|
173 | WORD yHotspot;
|
---|
174 | HBITMAP16 hbmMask;
|
---|
175 | HBITMAP16 hbmColor;
|
---|
176 | } ICONINFO16,*LPICONINFO16;
|
---|
177 |
|
---|
178 | typedef struct
|
---|
179 | {
|
---|
180 | BYTE fVirt;
|
---|
181 | WORD key;
|
---|
182 | WORD cmd;
|
---|
183 | } ACCEL16, *LPACCEL16;
|
---|
184 |
|
---|
185 | /* FIXME: not sure this one is correct */
|
---|
186 | typedef struct {
|
---|
187 | UINT16 cbSize;
|
---|
188 | UINT16 fMask;
|
---|
189 | UINT16 fType;
|
---|
190 | UINT16 fState;
|
---|
191 | UINT16 wID;
|
---|
192 | HMENU16 hSubMenu;
|
---|
193 | HBITMAP16 hbmpChecked;
|
---|
194 | HBITMAP16 hbmpUnchecked;
|
---|
195 | DWORD dwItemData;
|
---|
196 | SEGPTR dwTypeData;
|
---|
197 | UINT16 cch;
|
---|
198 | } MENUITEMINFO16, *LPMENUITEMINFO16;
|
---|
199 |
|
---|
200 | /* DrawState defines ... */
|
---|
201 | typedef BOOL16 (CALLBACK *DRAWSTATEPROC16)(HDC16,LPARAM,WPARAM16,INT16,INT16);
|
---|
202 |
|
---|
203 | /* Listbox messages */
|
---|
204 | #define LB_ADDSTRING16 (WM_USER+1)
|
---|
205 | #define LB_INSERTSTRING16 (WM_USER+2)
|
---|
206 | #define LB_DELETESTRING16 (WM_USER+3)
|
---|
207 | #define LB_SELITEMRANGEEX16 (WM_USER+4)
|
---|
208 | #define LB_RESETCONTENT16 (WM_USER+5)
|
---|
209 | #define LB_SETSEL16 (WM_USER+6)
|
---|
210 | #define LB_SETCURSEL16 (WM_USER+7)
|
---|
211 | #define LB_GETSEL16 (WM_USER+8)
|
---|
212 | #define LB_GETCURSEL16 (WM_USER+9)
|
---|
213 | #define LB_GETTEXT16 (WM_USER+10)
|
---|
214 | #define LB_GETTEXTLEN16 (WM_USER+11)
|
---|
215 | #define LB_GETCOUNT16 (WM_USER+12)
|
---|
216 | #define LB_SELECTSTRING16 (WM_USER+13)
|
---|
217 | #define LB_DIR16 (WM_USER+14)
|
---|
218 | #define LB_GETTOPINDEX16 (WM_USER+15)
|
---|
219 | #define LB_FINDSTRING16 (WM_USER+16)
|
---|
220 | #define LB_GETSELCOUNT16 (WM_USER+17)
|
---|
221 | #define LB_GETSELITEMS16 (WM_USER+18)
|
---|
222 | #define LB_SETTABSTOPS16 (WM_USER+19)
|
---|
223 | #define LB_GETHORIZONTALEXTENT16 (WM_USER+20)
|
---|
224 | #define LB_SETHORIZONTALEXTENT16 (WM_USER+21)
|
---|
225 | #define LB_SETCOLUMNWIDTH16 (WM_USER+22)
|
---|
226 | #define LB_ADDFILE16 (WM_USER+23)
|
---|
227 | #define LB_SETTOPINDEX16 (WM_USER+24)
|
---|
228 | #define LB_GETITEMRECT16 (WM_USER+25)
|
---|
229 | #define LB_GETITEMDATA16 (WM_USER+26)
|
---|
230 | #define LB_SETITEMDATA16 (WM_USER+27)
|
---|
231 | #define LB_SELITEMRANGE16 (WM_USER+28)
|
---|
232 | #define LB_SETANCHORINDEX16 (WM_USER+29)
|
---|
233 | #define LB_GETANCHORINDEX16 (WM_USER+30)
|
---|
234 | #define LB_SETCARETINDEX16 (WM_USER+31)
|
---|
235 | #define LB_GETCARETINDEX16 (WM_USER+32)
|
---|
236 | #define LB_SETITEMHEIGHT16 (WM_USER+33)
|
---|
237 | #define LB_GETITEMHEIGHT16 (WM_USER+34)
|
---|
238 | #define LB_FINDSTRINGEXACT16 (WM_USER+35)
|
---|
239 | #define LB_CARETON16 (WM_USER+36)
|
---|
240 | #define LB_CARETOFF16 (WM_USER+37)
|
---|
241 |
|
---|
242 | /* Combo box messages */
|
---|
243 | #define CB_GETEDITSEL16 (WM_USER+0)
|
---|
244 | #define CB_LIMITTEXT16 (WM_USER+1)
|
---|
245 | #define CB_SETEDITSEL16 (WM_USER+2)
|
---|
246 | #define CB_ADDSTRING16 (WM_USER+3)
|
---|
247 | #define CB_DELETESTRING16 (WM_USER+4)
|
---|
248 | #define CB_DIR16 (WM_USER+5)
|
---|
249 | #define CB_GETCOUNT16 (WM_USER+6)
|
---|
250 | #define CB_GETCURSEL16 (WM_USER+7)
|
---|
251 | #define CB_GETLBTEXT16 (WM_USER+8)
|
---|
252 | #define CB_GETLBTEXTLEN16 (WM_USER+9)
|
---|
253 | #define CB_INSERTSTRING16 (WM_USER+10)
|
---|
254 | #define CB_RESETCONTENT16 (WM_USER+11)
|
---|
255 | #define CB_FINDSTRING16 (WM_USER+12)
|
---|
256 | #define CB_SELECTSTRING16 (WM_USER+13)
|
---|
257 | #define CB_SETCURSEL16 (WM_USER+14)
|
---|
258 | #define CB_SHOWDROPDOWN16 (WM_USER+15)
|
---|
259 | #define CB_GETITEMDATA16 (WM_USER+16)
|
---|
260 | #define CB_SETITEMDATA16 (WM_USER+17)
|
---|
261 | #define CB_GETDROPPEDCONTROLRECT16 (WM_USER+18)
|
---|
262 | #define CB_SETITEMHEIGHT16 (WM_USER+19)
|
---|
263 | #define CB_GETITEMHEIGHT16 (WM_USER+20)
|
---|
264 | #define CB_SETEXTENDEDUI16 (WM_USER+21)
|
---|
265 | #define CB_GETEXTENDEDUI16 (WM_USER+22)
|
---|
266 | #define CB_GETDROPPEDSTATE16 (WM_USER+23)
|
---|
267 | #define CB_FINDSTRINGEXACT16 (WM_USER+24)
|
---|
268 |
|
---|
269 | typedef struct /* not sure if the 16bit version is correct */
|
---|
270 | {
|
---|
271 | UINT cbSize;
|
---|
272 | HWND16 hwndOwner;
|
---|
273 | HINSTANCE16 hInstance;
|
---|
274 | SEGPTR lpszText;
|
---|
275 | SEGPTR lpszCaption;
|
---|
276 | DWORD dwStyle;
|
---|
277 | SEGPTR lpszIcon;
|
---|
278 | DWORD dwContextHelpId;
|
---|
279 | MSGBOXCALLBACK lpfnMsgBoxCallback;
|
---|
280 | DWORD dwLanguageId;
|
---|
281 | } MSGBOXPARAMS16,*LPMSGBOXPARAMS16;
|
---|
282 |
|
---|
283 | /* Windows */
|
---|
284 |
|
---|
285 | typedef struct
|
---|
286 | {
|
---|
287 | SEGPTR lpCreateParams;
|
---|
288 | HINSTANCE16 hInstance;
|
---|
289 | HMENU16 hMenu;
|
---|
290 | HWND16 hwndParent;
|
---|
291 | INT16 cy;
|
---|
292 | INT16 cx;
|
---|
293 | INT16 y;
|
---|
294 | INT16 x;
|
---|
295 | LONG style;
|
---|
296 | SEGPTR lpszName;
|
---|
297 | SEGPTR lpszClass;
|
---|
298 | DWORD dwExStyle;
|
---|
299 | } CREATESTRUCT16, *LPCREATESTRUCT16;
|
---|
300 |
|
---|
301 | typedef struct
|
---|
302 | {
|
---|
303 | HDC16 hdc;
|
---|
304 | BOOL16 fErase;
|
---|
305 | RECT16 rcPaint;
|
---|
306 | BOOL16 fRestore;
|
---|
307 | BOOL16 fIncUpdate;
|
---|
308 | BYTE rgbReserved[16];
|
---|
309 | } PAINTSTRUCT16, *LPPAINTSTRUCT16;
|
---|
310 |
|
---|
311 | typedef struct
|
---|
312 | {
|
---|
313 | HMENU16 hWindowMenu;
|
---|
314 | UINT16 idFirstChild;
|
---|
315 | } CLIENTCREATESTRUCT16, *LPCLIENTCREATESTRUCT16;
|
---|
316 |
|
---|
317 | typedef struct
|
---|
318 | {
|
---|
319 | SEGPTR szClass;
|
---|
320 | SEGPTR szTitle;
|
---|
321 | HINSTANCE16 hOwner;
|
---|
322 | INT16 x;
|
---|
323 | INT16 y;
|
---|
324 | INT16 cx;
|
---|
325 | INT16 cy;
|
---|
326 | DWORD style;
|
---|
327 | LPARAM lParam;
|
---|
328 | } MDICREATESTRUCT16, *LPMDICREATESTRUCT16;
|
---|
329 |
|
---|
330 | /* WM_GETMINMAXINFO struct */
|
---|
331 | typedef struct
|
---|
332 | {
|
---|
333 | POINT16 ptReserved;
|
---|
334 | POINT16 ptMaxSize;
|
---|
335 | POINT16 ptMaxPosition;
|
---|
336 | POINT16 ptMinTrackSize;
|
---|
337 | POINT16 ptMaxTrackSize;
|
---|
338 | } MINMAXINFO16;
|
---|
339 |
|
---|
340 | /* WM_WINDOWPOSCHANGING/CHANGED struct */
|
---|
341 | typedef struct tagWINDOWPOS16
|
---|
342 | {
|
---|
343 | HWND16 hwnd;
|
---|
344 | HWND16 hwndInsertAfter;
|
---|
345 | INT16 x;
|
---|
346 | INT16 y;
|
---|
347 | INT16 cx;
|
---|
348 | INT16 cy;
|
---|
349 | UINT16 flags;
|
---|
350 | } WINDOWPOS16, *LPWINDOWPOS16;
|
---|
351 |
|
---|
352 | /* WM_NCCALCSIZE parameter structure */
|
---|
353 | typedef struct
|
---|
354 | {
|
---|
355 | RECT16 rgrc[3];
|
---|
356 | SEGPTR lppos;
|
---|
357 | } NCCALCSIZE_PARAMS16, *LPNCCALCSIZE_PARAMS16;
|
---|
358 |
|
---|
359 | typedef struct {
|
---|
360 | UINT16 cbSize;
|
---|
361 | INT16 iBorderWidth;
|
---|
362 | INT16 iScrollWidth;
|
---|
363 | INT16 iScrollHeight;
|
---|
364 | INT16 iCaptionWidth;
|
---|
365 | INT16 iCaptionHeight;
|
---|
366 | LOGFONT16 lfCaptionFont;
|
---|
367 | INT16 iSmCaptionWidth;
|
---|
368 | INT16 iSmCaptionHeight;
|
---|
369 | LOGFONT16 lfSmCaptionFont;
|
---|
370 | INT16 iMenuWidth;
|
---|
371 | INT16 iMenuHeight;
|
---|
372 | LOGFONT16 lfMenuFont;
|
---|
373 | LOGFONT16 lfStatusFont;
|
---|
374 | LOGFONT16 lfMessageFont;
|
---|
375 | } NONCLIENTMETRICS16,*LPNONCLIENTMETRICS16;
|
---|
376 |
|
---|
377 | /* Journalling hook structure */
|
---|
378 |
|
---|
379 | typedef struct
|
---|
380 | {
|
---|
381 | UINT16 message;
|
---|
382 | UINT16 paramL;
|
---|
383 | UINT16 paramH;
|
---|
384 | DWORD time;
|
---|
385 | } EVENTMSG16, *LPEVENTMSG16;
|
---|
386 |
|
---|
387 | /* Mouse hook structure */
|
---|
388 |
|
---|
389 | typedef struct
|
---|
390 | {
|
---|
391 | POINT16 pt;
|
---|
392 | HWND16 hwnd;
|
---|
393 | UINT16 wHitTestCode;
|
---|
394 | DWORD dwExtraInfo;
|
---|
395 | } MOUSEHOOKSTRUCT16, *LPMOUSEHOOKSTRUCT16;
|
---|
396 |
|
---|
397 | /* Hardware hook structure */
|
---|
398 |
|
---|
399 | typedef struct
|
---|
400 | {
|
---|
401 | HWND16 hWnd;
|
---|
402 | UINT16 wMessage;
|
---|
403 | WPARAM16 wParam;
|
---|
404 | LPARAM lParam;
|
---|
405 | } HARDWAREHOOKSTRUCT16, *LPHARDWAREHOOKSTRUCT16;
|
---|
406 |
|
---|
407 | /* Scrollbar messages */
|
---|
408 | #define SBM_SETPOS16 (WM_USER+0)
|
---|
409 | #define SBM_GETPOS16 (WM_USER+1)
|
---|
410 | #define SBM_SETRANGE16 (WM_USER+2)
|
---|
411 | #define SBM_GETRANGE16 (WM_USER+3)
|
---|
412 | #define SBM_ENABLE_ARROWS16 (WM_USER+4)
|
---|
413 | #define SBM_SETRANGEREDRAW16 WM_NULL /* Not in Win16 */
|
---|
414 | #define SBM_SETSCROLLINFO16 WM_NULL /* Not in Win16 */
|
---|
415 | #define SBM_GETSCROLLINFO16 WM_NULL /* Not in Win16 */
|
---|
416 |
|
---|
417 | /* CBT hook structures */
|
---|
418 |
|
---|
419 | typedef struct
|
---|
420 | {
|
---|
421 | CREATESTRUCT16 *lpcs;
|
---|
422 | HWND16 hwndInsertAfter;
|
---|
423 | } CBT_CREATEWND16, *LPCBT_CREATEWND16;
|
---|
424 |
|
---|
425 | typedef struct
|
---|
426 | {
|
---|
427 | BOOL16 fMouse;
|
---|
428 | HWND16 hWndActive;
|
---|
429 | } CBTACTIVATESTRUCT16, *LPCBTACTIVATESTRUCT16;
|
---|
430 |
|
---|
431 | /* Debug hook structure */
|
---|
432 |
|
---|
433 | typedef struct
|
---|
434 | {
|
---|
435 | HMODULE16 hModuleHook;
|
---|
436 | LPARAM reserved;
|
---|
437 | LPARAM lParam;
|
---|
438 | WPARAM16 wParam;
|
---|
439 | INT16 code;
|
---|
440 | } DEBUGHOOKINFO16, *LPDEBUGHOOKINFO16;
|
---|
441 |
|
---|
442 | #define GETMAXLPT 8
|
---|
443 | #define GETMAXCOM 9
|
---|
444 | #define GETBASEIRQ 10
|
---|
445 |
|
---|
446 | /* GetFreeSystemResources() parameters */
|
---|
447 |
|
---|
448 | #define GFSR_SYSTEMRESOURCES 0x0000
|
---|
449 | #define GFSR_GDIRESOURCES 0x0001
|
---|
450 | #define GFSR_USERRESOURCES 0x0002
|
---|
451 |
|
---|
452 | /* CreateWindow() coordinates */
|
---|
453 | #define CW_USEDEFAULT16 ((INT16)0x8000)
|
---|
454 |
|
---|
455 | /* Win16 button control messages */
|
---|
456 | #define BM_GETCHECK16 (WM_USER+0)
|
---|
457 | #define BM_SETCHECK16 (WM_USER+1)
|
---|
458 | #define BM_GETSTATE16 (WM_USER+2)
|
---|
459 | #define BM_SETSTATE16 (WM_USER+3)
|
---|
460 | #define BM_SETSTYLE16 (WM_USER+4)
|
---|
461 | #define BM_CLICK16 WM_NULL /* Does not exist in Win16 */
|
---|
462 | #define BM_GETIMAGE16 WM_NULL /* Does not exist in Win16 */
|
---|
463 | #define BM_SETIMAGE16 WM_NULL /* Does not exist in Win16 */
|
---|
464 |
|
---|
465 | /* Static Control Messages */
|
---|
466 | #define STM_SETICON16 (WM_USER+0)
|
---|
467 | #define STM_GETICON16 (WM_USER+1)
|
---|
468 |
|
---|
469 | /* Edit control messages */
|
---|
470 | #define EM_GETSEL16 (WM_USER+0)
|
---|
471 | #define EM_SETSEL16 (WM_USER+1)
|
---|
472 | #define EM_GETRECT16 (WM_USER+2)
|
---|
473 | #define EM_SETRECT16 (WM_USER+3)
|
---|
474 | #define EM_SETRECTNP16 (WM_USER+4)
|
---|
475 | #define EM_SCROLL16 (WM_USER+5)
|
---|
476 | #define EM_LINESCROLL16 (WM_USER+6)
|
---|
477 | #define EM_SCROLLCARET16 (WM_USER+7)
|
---|
478 | #define EM_GETMODIFY16 (WM_USER+8)
|
---|
479 | #define EM_SETMODIFY16 (WM_USER+9)
|
---|
480 | #define EM_GETLINECOUNT16 (WM_USER+10)
|
---|
481 | #define EM_LINEINDEX16 (WM_USER+11)
|
---|
482 | #define EM_SETHANDLE16 (WM_USER+12)
|
---|
483 | #define EM_GETHANDLE16 (WM_USER+13)
|
---|
484 | #define EM_GETTHUMB16 (WM_USER+14)
|
---|
485 | #define EM_LINELENGTH16 (WM_USER+17)
|
---|
486 | #define EM_REPLACESEL16 (WM_USER+18)
|
---|
487 | #define EM_GETLINE16 (WM_USER+20)
|
---|
488 | #define EM_LIMITTEXT16 (WM_USER+21)
|
---|
489 | #define EM_CANUNDO16 (WM_USER+22)
|
---|
490 | #define EM_UNDO16 (WM_USER+23)
|
---|
491 | #define EM_FMTLINES16 (WM_USER+24)
|
---|
492 | #define EM_LINEFROMCHAR16 (WM_USER+25)
|
---|
493 | #define EM_SETTABSTOPS16 (WM_USER+27)
|
---|
494 | #define EM_SETPASSWORDCHAR16 (WM_USER+28)
|
---|
495 | #define EM_EMPTYUNDOBUFFER16 (WM_USER+29)
|
---|
496 | #define EM_GETFIRSTVISIBLELINE16 (WM_USER+30)
|
---|
497 | #define EM_SETREADONLY16 (WM_USER+31)
|
---|
498 | #define EM_SETWORDBREAKPROC16 (WM_USER+32)
|
---|
499 | #define EM_GETWORDBREAKPROC16 (WM_USER+33)
|
---|
500 | #define EM_GETPASSWORDCHAR16 (WM_USER+34)
|
---|
501 | /*
|
---|
502 | not in win16:
|
---|
503 | EM_SETMARGINS16 WM_NULL
|
---|
504 | EM_GETMARGINS16 WM_NULL
|
---|
505 | EM_GETLIMITTEXT16 WM_NULL
|
---|
506 | EM_POSFROMCHAR16 WM_NULL
|
---|
507 | EM_CHARFROMPOS16 WM_NULL
|
---|
508 | EM_SETLIMITTEXT16 WM_NULL - no name change in win16
|
---|
509 | */
|
---|
510 |
|
---|
511 | typedef struct
|
---|
512 | {
|
---|
513 | UINT16 CtlType;
|
---|
514 | UINT16 CtlID;
|
---|
515 | UINT16 itemID;
|
---|
516 | UINT16 itemAction;
|
---|
517 | UINT16 itemState;
|
---|
518 | HWND16 hwndItem;
|
---|
519 | HDC16 hDC;
|
---|
520 | RECT16 rcItem;
|
---|
521 | DWORD itemData;
|
---|
522 | } DRAWITEMSTRUCT16, *PDRAWITEMSTRUCT16, *LPDRAWITEMSTRUCT16;
|
---|
523 |
|
---|
524 | typedef struct
|
---|
525 | {
|
---|
526 | UINT16 CtlType;
|
---|
527 | UINT16 CtlID;
|
---|
528 | UINT16 itemID;
|
---|
529 | UINT16 itemWidth;
|
---|
530 | UINT16 itemHeight;
|
---|
531 | DWORD itemData;
|
---|
532 | } MEASUREITEMSTRUCT16, *PMEASUREITEMSTRUCT16, *LPMEASUREITEMSTRUCT16;
|
---|
533 |
|
---|
534 | typedef struct
|
---|
535 | {
|
---|
536 | UINT16 CtlType;
|
---|
537 | UINT16 CtlID;
|
---|
538 | UINT16 itemID;
|
---|
539 | HWND16 hwndItem;
|
---|
540 | DWORD itemData;
|
---|
541 | } DELETEITEMSTRUCT16, *LPDELETEITEMSTRUCT16;
|
---|
542 |
|
---|
543 | typedef struct
|
---|
544 | {
|
---|
545 | UINT16 CtlType;
|
---|
546 | UINT16 CtlID;
|
---|
547 | HWND16 hwndItem;
|
---|
548 | UINT16 itemID1;
|
---|
549 | DWORD itemData1;
|
---|
550 | UINT16 itemID2;
|
---|
551 | DWORD itemData2;
|
---|
552 | } COMPAREITEMSTRUCT16, *LPCOMPAREITEMSTRUCT16;
|
---|
553 |
|
---|
554 | /* DragObject stuff */
|
---|
555 |
|
---|
556 | typedef struct
|
---|
557 | {
|
---|
558 | HWND16 hWnd;
|
---|
559 | HANDLE16 hScope;
|
---|
560 | WORD wFlags;
|
---|
561 | HANDLE16 hList;
|
---|
562 | HANDLE16 hOfStruct;
|
---|
563 | POINT16 pt;
|
---|
564 | LONG l;
|
---|
565 | } DRAGINFO16, *LPDRAGINFO16;
|
---|
566 |
|
---|
567 | /* undocumented */
|
---|
568 | typedef struct tagCOPYDATASTRUCT16 {
|
---|
569 | DWORD dwData;
|
---|
570 | DWORD cbData;
|
---|
571 | SEGPTR lpData;
|
---|
572 | } COPYDATASTRUCT16, *PCOPYDATASTRUCT16;
|
---|
573 |
|
---|
574 | #define DRAGOBJ_PROGRAM 0x0001
|
---|
575 | #define DRAGOBJ_DATA 0x0002
|
---|
576 | #define DRAGOBJ_DIRECTORY 0x0004
|
---|
577 | #define DRAGOBJ_MULTIPLE 0x0008
|
---|
578 | #define DRAGOBJ_EXTERNAL 0x8000
|
---|
579 |
|
---|
580 | #define DRAG_PRINT 0x544E5250
|
---|
581 | #define DRAG_FILE 0x454C4946
|
---|
582 |
|
---|
583 | #include <poppack.h>
|
---|
584 |
|
---|
585 | /* WM_COMMNOTIFY flags */
|
---|
586 | #define CN_RECEIVE 0x0001
|
---|
587 | #define CN_TRANSMIT 0x0002
|
---|
588 | #define CN_EVENT 0x0004
|
---|
589 |
|
---|
590 | BOOL16 WINAPI CheckMenuRadioItem16(HMENU16,UINT16,UINT16,UINT16,UINT16);
|
---|
591 | HICON16 WINAPI CopyImage16(HANDLE16,UINT16,INT16,INT16,UINT16);
|
---|
592 | HICON16 WINAPI CreateIconFromResource16(LPBYTE,UINT16,BOOL16,DWORD);
|
---|
593 | BOOL16 WINAPI EnumChildWindows16(HWND16,WNDENUMPROC16,LPARAM);
|
---|
594 | INT16 WINAPI EnumProps16(HWND16,PROPENUMPROC16);
|
---|
595 | BOOL16 WINAPI EnumWindows16(WNDENUMPROC16,LPARAM);
|
---|
596 | DWORD WINAPI GetAppCompatFlags16(HTASK16);
|
---|
597 | INT16 WINAPI GetKBCodePage16(void);
|
---|
598 | INT16 WINAPI GetKeyboardType16(INT16);
|
---|
599 | INT16 WINAPI GetKeyNameText16(LONG,LPSTR,INT16);
|
---|
600 | INT16 WINAPI GetWindowRgn16(HWND16,HRGN16);
|
---|
601 | BOOL16 WINAPI IsWindow16(HWND16);
|
---|
602 | INT16 WINAPI LookupIconIdFromDirectory16(LPBYTE,BOOL16);
|
---|
603 | UINT16 WINAPI MapVirtualKey16(UINT16,UINT16);
|
---|
604 | FARPROC16 WINAPI SetWindowsHook16(INT16,HOOKPROC16);
|
---|
605 | HHOOK WINAPI SetWindowsHookEx16(INT16,HOOKPROC16,HINSTANCE16,HTASK16);
|
---|
606 | BOOL16 WINAPI UnhookWindowsHook16(INT16,HOOKPROC16);
|
---|
607 | BOOL16 WINAPI UnhookWindowsHookEx16(HHOOK);
|
---|
608 | VOID WINAPI CalcChildScroll16(HWND16,WORD);
|
---|
609 | VOID WINAPI CascadeChildWindows16(HWND16,WORD);
|
---|
610 | INT16 WINAPI CloseComm16(INT16);
|
---|
611 | HGLOBAL16 WINAPI CreateCursorIconIndirect16(HINSTANCE16,CURSORICONINFO*,
|
---|
612 | LPCVOID,LPCVOID);
|
---|
613 | BOOL16 WINAPI DCHook16(HDC16,WORD,DWORD,LPARAM);
|
---|
614 | BOOL16 WINAPI DlgDirSelect16(HWND16,LPSTR,INT16);
|
---|
615 | BOOL16 WINAPI DlgDirSelectComboBox16(HWND16,LPSTR,INT16);
|
---|
616 | DWORD WINAPI DumpIcon16(SEGPTR,WORD*,SEGPTR*,SEGPTR*);
|
---|
617 | BOOL16 WINAPI EnableCommNotification16(INT16,HWND16,INT16,INT16);
|
---|
618 | BOOL16 WINAPI EnableHardwareInput16(BOOL16);
|
---|
619 | VOID WINAPI FillWindow16(HWND16,HWND16,HDC16,HBRUSH16);
|
---|
620 | INT16 WINAPI FlushComm16(INT16,INT16);
|
---|
621 | UINT16 WINAPI GetCommEventMask16(INT16,UINT16);
|
---|
622 | HBRUSH16 WINAPI GetControlBrush16(HWND16,HDC16,UINT16);
|
---|
623 | HWND16 WINAPI GetDesktopHwnd16(void);
|
---|
624 | WORD WINAPI GetIconID16(HGLOBAL16,DWORD);
|
---|
625 | FARPROC16 WINAPI GetMouseEventProc16(void);
|
---|
626 | INT16 WINAPI InitApp16(HINSTANCE16);
|
---|
627 | BOOL16 WINAPI IsUserIdle16(void);
|
---|
628 | HGLOBAL16 WINAPI LoadCursorIconHandler16(HGLOBAL16,HMODULE16,HRSRC16);
|
---|
629 | HGLOBAL16 WINAPI LoadDIBCursorHandler16(HGLOBAL16,HMODULE16,HRSRC16);
|
---|
630 | HGLOBAL16 WINAPI LoadDIBIconHandler16(HGLOBAL16,HMODULE16,HRSRC16);
|
---|
631 | HICON16 WINAPI LoadIconHandler16(HGLOBAL16,BOOL16);
|
---|
632 | HMENU16 WINAPI LookupMenuHandle16(HMENU16,INT16);
|
---|
633 | INT16 WINAPI OpenComm16(LPCSTR,UINT16,UINT16);
|
---|
634 | VOID WINAPI PaintRect16(HWND16,HWND16,HDC16,HBRUSH16,const RECT16*);
|
---|
635 | INT16 WINAPI ReadComm16(INT16,LPSTR,INT16);
|
---|
636 | SEGPTR WINAPI SetCommEventMask16(INT16,UINT16);
|
---|
637 | BOOL16 WINAPI SetDeskPattern(void);
|
---|
638 | VOID WINAPI TileChildWindows16(HWND16,WORD);
|
---|
639 | INT16 WINAPI UngetCommChar16(INT16,CHAR);
|
---|
640 | VOID WINAPI UserYield16(void);
|
---|
641 | INT16 WINAPI WriteComm16(INT16,LPSTR,INT16);
|
---|
642 | BOOL16 WINAPI AdjustWindowRect16(LPRECT16,DWORD,BOOL16);
|
---|
643 | BOOL16 WINAPI AdjustWindowRectEx16(LPRECT16,DWORD,BOOL16,DWORD);
|
---|
644 | SEGPTR WINAPI AnsiLower16(SEGPTR);
|
---|
645 | UINT16 WINAPI AnsiLowerBuff16(LPSTR,UINT16);
|
---|
646 | SEGPTR WINAPI AnsiNext16(SEGPTR);
|
---|
647 | SEGPTR WINAPI AnsiPrev16(LPCSTR,SEGPTR);
|
---|
648 | SEGPTR WINAPI AnsiUpper16(SEGPTR);
|
---|
649 | UINT16 WINAPI AnsiUpperBuff16(LPSTR,UINT16);
|
---|
650 | BOOL16 WINAPI AnyPopup16(void);
|
---|
651 | BOOL16 WINAPI AppendMenu16(HMENU16,UINT16,UINT16,SEGPTR);
|
---|
652 | UINT16 WINAPI ArrangeIconicWindows16(HWND16);
|
---|
653 | HDWP16 WINAPI BeginDeferWindowPos16(INT16);
|
---|
654 | HDC16 WINAPI BeginPaint16(HWND16,LPPAINTSTRUCT16);
|
---|
655 | BOOL16 WINAPI BringWindowToTop16(HWND16);
|
---|
656 | BOOL16 WINAPI CallMsgFilter16(MSG16*,INT16);
|
---|
657 | BOOL16 WINAPI CallMsgFilter32_16(MSG32_16*,INT16,BOOL16);
|
---|
658 | LRESULT WINAPI CallNextHookEx16(HHOOK,INT16,WPARAM16,LPARAM);
|
---|
659 | LRESULT WINAPI CallWindowProc16(WNDPROC16,HWND16,UINT16,WPARAM16,LPARAM);
|
---|
660 | BOOL16 WINAPI ChangeClipboardChain16(HWND16,HWND16);
|
---|
661 | BOOL16 WINAPI ChangeMenu16(HMENU16,UINT16,SEGPTR,UINT16,UINT16);
|
---|
662 | BOOL16 WINAPI CheckDlgButton16(HWND16,INT16,UINT16);
|
---|
663 | BOOL16 WINAPI CheckMenuItem16(HMENU16,UINT16,UINT16);
|
---|
664 | BOOL16 WINAPI CheckRadioButton16(HWND16,UINT16,UINT16,UINT16);
|
---|
665 | HWND16 WINAPI ChildWindowFromPoint16(HWND16,POINT16);
|
---|
666 | HWND16 WINAPI ChildWindowFromPointEx16(HWND16,POINT16,UINT16);
|
---|
667 | INT16 WINAPI ClearCommBreak16(INT16);
|
---|
668 | VOID WINAPI ClientToScreen16(HWND16,LPPOINT16);
|
---|
669 | BOOL16 WINAPI ClipCursor16(const RECT16*);
|
---|
670 | BOOL16 WINAPI CloseClipboard16(void);
|
---|
671 | BOOL16 WINAPI CloseWindow16(HWND16);
|
---|
672 | void WINAPI ControlPanelInfo16(INT16, WORD, LPSTR);
|
---|
673 | HCURSOR16 WINAPI CopyCursor16(HINSTANCE16,HCURSOR16);
|
---|
674 | HICON16 WINAPI CopyIcon16(HINSTANCE16,HICON16);
|
---|
675 | BOOL16 WINAPI CopyRect16(RECT16*,const RECT16*);
|
---|
676 | INT16 WINAPI CountClipboardFormats16(void);
|
---|
677 | VOID WINAPI CreateCaret16(HWND16,HBITMAP16,INT16,INT16);
|
---|
678 | HCURSOR16 WINAPI CreateCursor16(HINSTANCE16,INT16,INT16,INT16,INT16,LPCVOID,LPCVOID);
|
---|
679 | HWND16 WINAPI CreateDialog16(HINSTANCE16,LPCSTR,HWND16,DLGPROC16);
|
---|
680 | HWND16 WINAPI CreateDialogIndirect16(HINSTANCE16,LPCVOID,HWND16,DLGPROC16);
|
---|
681 | HWND16 WINAPI CreateDialogIndirectParam16(HINSTANCE16,LPCVOID,HWND16,
|
---|
682 | DLGPROC16,LPARAM);
|
---|
683 | HWND16 WINAPI CreateDialogParam16(HINSTANCE16,LPCSTR,HWND16,DLGPROC16,LPARAM);
|
---|
684 | HICON16 WINAPI CreateIcon16(HINSTANCE16,INT16,INT16,BYTE,BYTE,LPCVOID,LPCVOID);
|
---|
685 | HICON16 WINAPI CreateIconFromResourceEx16(LPBYTE,UINT16,BOOL16,DWORD,INT16,INT16,UINT16);
|
---|
686 | HMENU16 WINAPI CreateMenu16(void);
|
---|
687 | HMENU16 WINAPI CreatePopupMenu16(void);
|
---|
688 | HWND16 WINAPI CreateWindow16(LPCSTR,LPCSTR,DWORD,INT16,INT16,INT16,INT16,
|
---|
689 | HWND16,HMENU16,HINSTANCE16,LPVOID);
|
---|
690 | HWND16 WINAPI CreateWindowEx16(DWORD,LPCSTR,LPCSTR,DWORD,INT16,INT16,
|
---|
691 | INT16,INT16,HWND16,HMENU16,HINSTANCE16,LPVOID);
|
---|
692 | LRESULT WINAPI DefDlgProc16(HWND16,UINT16,WPARAM16,LPARAM);
|
---|
693 | HDWP16 WINAPI DeferWindowPos16(HDWP16,HWND16,HWND16,INT16,INT16,INT16,INT16,UINT16);
|
---|
694 | LRESULT WINAPI DefFrameProc16(HWND16,HWND16,UINT16,WPARAM16,LPARAM);
|
---|
695 | LRESULT WINAPI DefHookProc16(INT16,WPARAM16,LPARAM,HHOOK*);
|
---|
696 | LRESULT WINAPI DefMDIChildProc16(HWND16,UINT16,WPARAM16,LPARAM);
|
---|
697 | LRESULT WINAPI DefWindowProc16(HWND16,UINT16,WPARAM16,LPARAM);
|
---|
698 | BOOL16 WINAPI DeleteMenu16(HMENU16,UINT16,UINT16);
|
---|
699 | VOID WINAPI DestroyCaret16(void);
|
---|
700 | BOOL16 WINAPI DestroyCursor16(HCURSOR16);
|
---|
701 | BOOL16 WINAPI DestroyIcon16(HICON16);
|
---|
702 | BOOL16 WINAPI DestroyMenu16(HMENU16);
|
---|
703 | BOOL16 WINAPI DestroyWindow16(HWND16);
|
---|
704 | INT16 WINAPI DialogBox16(HINSTANCE16,LPCSTR,HWND16,DLGPROC16);
|
---|
705 | INT16 WINAPI DialogBoxIndirect16(HINSTANCE16,HANDLE16,HWND16,DLGPROC16);
|
---|
706 | INT16 WINAPI DialogBoxIndirectParam16(HINSTANCE16,HANDLE16,HWND16,DLGPROC16,LPARAM);
|
---|
707 | INT16 WINAPI DialogBoxParam16(HINSTANCE16,LPCSTR,HWND16,DLGPROC16,LPARAM);
|
---|
708 | LONG WINAPI DispatchMessage16(const MSG16*);
|
---|
709 | LONG WINAPI DispatchMessage32_16(const MSG32_16*,BOOL16);
|
---|
710 | INT16 WINAPI DlgDirList16(HWND16,LPSTR,INT16,INT16,UINT16);
|
---|
711 | INT16 WINAPI DlgDirListComboBox16(HWND16,LPSTR,INT16,INT16,UINT16);
|
---|
712 | BOOL16 WINAPI DlgDirSelectComboBoxEx16(HWND16,LPSTR,INT16,INT16);
|
---|
713 | BOOL16 WINAPI DlgDirSelectEx16(HWND16,LPSTR,INT16,INT16);
|
---|
714 | BOOL16 WINAPI DragDetect16(HWND16,POINT16);
|
---|
715 | DWORD WINAPI DragObject16(HWND16,HWND16,UINT16,HANDLE16,WORD,HCURSOR16);
|
---|
716 | BOOL16 WINAPI DrawAnimatedRects16(HWND16,INT16,const RECT16*,const RECT16*);
|
---|
717 | BOOL16 WINAPI DrawCaption16(HWND16,HDC16,const RECT16*,UINT16);
|
---|
718 | BOOL16 WINAPI DrawCaptionTemp16(HWND16,HDC16, const RECT16*,HFONT16,HICON16,LPCSTR,UINT16);
|
---|
719 | BOOL16 WINAPI DrawEdge16(HDC16,LPRECT16,UINT16,UINT16);
|
---|
720 | void WINAPI DrawFocusRect16(HDC16,const RECT16*);
|
---|
721 | BOOL16 WINAPI DrawFrameControl16(HDC16,LPRECT16,UINT16,UINT16);
|
---|
722 | BOOL16 WINAPI DrawIcon16(HDC16,INT16,INT16,HICON16);
|
---|
723 | BOOL16 WINAPI DrawIconEx16(HDC16,INT16,INT16,HICON16,INT16,INT16,
|
---|
724 | UINT16,HBRUSH16,UINT16);
|
---|
725 | VOID WINAPI DrawMenuBar16(HWND16);
|
---|
726 | INT16 WINAPI DrawText16(HDC16,LPCSTR,INT16,LPRECT16,UINT16);
|
---|
727 | BOOL16 WINAPI EmptyClipboard16(void);
|
---|
728 | BOOL16 WINAPI EnableMenuItem16(HMENU16,UINT16,UINT16);
|
---|
729 | BOOL16 WINAPI EnableScrollBar16(HWND16,INT16,UINT16);
|
---|
730 | BOOL16 WINAPI EnableWindow16(HWND16,BOOL16);
|
---|
731 | BOOL16 WINAPI EndDeferWindowPos16(HDWP16);
|
---|
732 | BOOL16 WINAPI EndDialog16(HWND16,INT16);
|
---|
733 | BOOL16 WINAPI EndPaint16(HWND16,const PAINTSTRUCT16*);
|
---|
734 | UINT16 WINAPI EnumClipboardFormats16(UINT16);
|
---|
735 | BOOL16 WINAPI EqualRect16(const RECT16*,const RECT16*);
|
---|
736 | LONG WINAPI EscapeCommFunction16(UINT16,UINT16);
|
---|
737 | INT16 WINAPI ExcludeUpdateRgn16(HDC16,HWND16);
|
---|
738 | BOOL16 WINAPI ExitWindows16(DWORD,UINT16);
|
---|
739 | INT16 WINAPI FillRect16(HDC16,const RECT16*,HBRUSH16);
|
---|
740 | HWND16 WINAPI FindWindow16(LPCSTR,LPCSTR);
|
---|
741 | HWND16 WINAPI FindWindowEx16(HWND16,HWND16,LPCSTR,LPCSTR);
|
---|
742 | BOOL16 WINAPI FlashWindow16(HWND16,BOOL16);
|
---|
743 | DWORD WINAPI FormatMessage16(DWORD,SEGPTR,WORD,WORD,LPSTR,WORD,LPDWORD);
|
---|
744 | INT16 WINAPI FrameRect16(HDC16,const RECT16*,HBRUSH16);
|
---|
745 | HWND16 WINAPI GetActiveWindow16(void);
|
---|
746 | INT16 WINAPI GetAsyncKeyState16(INT16);
|
---|
747 | HWND16 WINAPI GetCapture16(void);
|
---|
748 | UINT16 WINAPI GetCaretBlinkTime16(void);
|
---|
749 | VOID WINAPI GetCaretPos16(LPPOINT16);
|
---|
750 | BOOL16 WINAPI GetClassInfo16(HINSTANCE16,SEGPTR,WNDCLASS16 *);
|
---|
751 | BOOL16 WINAPI GetClassInfoEx16(HINSTANCE16,SEGPTR,WNDCLASSEX16 *);
|
---|
752 | LONG WINAPI GetClassLong16(HWND16,INT16);
|
---|
753 | INT16 WINAPI GetClassName16(HWND16,LPSTR,INT16);
|
---|
754 | WORD WINAPI GetClassWord16(HWND16,INT16);
|
---|
755 | void WINAPI GetClientRect16(HWND16,LPRECT16);
|
---|
756 | HANDLE16 WINAPI GetClipboardData16(UINT16);
|
---|
757 | INT16 WINAPI GetClipboardFormatName16(UINT16,LPSTR,INT16);
|
---|
758 | HWND16 WINAPI GetClipboardOwner16(void);
|
---|
759 | HWND16 WINAPI GetClipboardViewer16(void);
|
---|
760 | void WINAPI GetClipCursor16(LPRECT16);
|
---|
761 | DWORD WINAPI GetCurrentTime16(void);
|
---|
762 | HCURSOR16 WINAPI GetCursor16(void);
|
---|
763 | BOOL16 WINAPI GetCursorPos16(LPPOINT16);
|
---|
764 | HDC16 WINAPI GetDC16(HWND16);
|
---|
765 | HDC16 WINAPI GetDCEx16(HWND16,HRGN16,DWORD);
|
---|
766 | HWND16 WINAPI GetDesktopWindow16(void);
|
---|
767 | INT16 WINAPI GetDlgCtrlID16(HWND16);
|
---|
768 | HWND16 WINAPI GetDlgItem16(HWND16,INT16);
|
---|
769 | UINT16 WINAPI GetDlgItemInt16(HWND16,INT16,BOOL16*,BOOL16);
|
---|
770 | INT16 WINAPI GetDlgItemText16(HWND16,INT16,SEGPTR,UINT16);
|
---|
771 | UINT16 WINAPI GetDoubleClickTime16(void);
|
---|
772 | HWND16 WINAPI GetFocus16(void);
|
---|
773 | HWND16 WINAPI GetForegroundWindow16(void);
|
---|
774 | BOOL16 WINAPI GetIconInfo16(HICON16,LPICONINFO16);
|
---|
775 | BOOL16 WINAPI GetInputState16(void);
|
---|
776 | UINT16 WINAPI GetInternalWindowPos16(HWND16,LPRECT16,LPPOINT16);
|
---|
777 | INT16 WINAPI GetKeyboardLayoutName16(LPSTR);
|
---|
778 | INT16 WINAPI GetKeyState16(INT16);
|
---|
779 | HWND16 WINAPI GetLastActivePopup16(HWND16);
|
---|
780 | HMENU16 WINAPI GetMenu16(HWND16);
|
---|
781 | DWORD WINAPI GetMenuContextHelpId16(HMENU16);
|
---|
782 | INT16 WINAPI GetMenuItemCount16(HMENU16);
|
---|
783 | UINT16 WINAPI GetMenuItemID16(HMENU16,INT16);
|
---|
784 | BOOL16 WINAPI GetMenuItemRect16(HWND16,HMENU16,UINT16,LPRECT16);
|
---|
785 | UINT16 WINAPI GetMenuState16(HMENU16,UINT16,UINT16);
|
---|
786 | INT16 WINAPI GetMenuString16(HMENU16,UINT16,LPSTR,INT16,UINT16);
|
---|
787 | BOOL16 WINAPI GetMessage16(MSG16*,HWND16,UINT16,UINT16);
|
---|
788 | BOOL16 WINAPI GetMessage32_16(MSG32_16*,HWND16,UINT16,UINT16,BOOL16);
|
---|
789 | HWND16 WINAPI GetNextDlgGroupItem16(HWND16,HWND16,BOOL16);
|
---|
790 | HWND16 WINAPI GetNextDlgTabItem16(HWND16,HWND16,BOOL16);
|
---|
791 | HWND16 WINAPI GetNextWindow16(HWND16,WORD);
|
---|
792 | HWND16 WINAPI GetOpenClipboardWindow16(void);
|
---|
793 | HWND16 WINAPI GetParent16(HWND16);
|
---|
794 | INT16 WINAPI GetPriorityClipboardFormat16(UINT16*,INT16);
|
---|
795 | HANDLE16 WINAPI GetProp16(HWND16,LPCSTR);
|
---|
796 | DWORD WINAPI GetQueueStatus16(UINT16);
|
---|
797 | BOOL16 WINAPI GetScrollInfo16(HWND16,INT16,LPSCROLLINFO);
|
---|
798 | INT16 WINAPI GetScrollPos16(HWND16,INT16);
|
---|
799 | BOOL16 WINAPI GetScrollRange16(HWND16,INT16,LPINT16,LPINT16);
|
---|
800 | HWND16 WINAPI GetShellWindow16(void);
|
---|
801 | HMENU16 WINAPI GetSubMenu16(HMENU16,INT16);
|
---|
802 | COLORREF WINAPI GetSysColor16(INT16);
|
---|
803 | HBRUSH16 WINAPI GetSysColorBrush16(INT16);
|
---|
804 | HWND16 WINAPI GetSysModalWindow16(void);
|
---|
805 | HMENU16 WINAPI GetSystemMenu16(HWND16,BOOL16);
|
---|
806 | INT16 WINAPI GetSystemMetrics16(INT16);
|
---|
807 | DWORD WINAPI GetTabbedTextExtent16(HDC16,LPCSTR,INT16,INT16,const INT16*);
|
---|
808 | HWND16 WINAPI GetTopWindow16(HWND16);
|
---|
809 | BOOL16 WINAPI GetUpdateRect16(HWND16,LPRECT16,BOOL16);
|
---|
810 | INT16 WINAPI GetUpdateRgn16(HWND16,HRGN16,BOOL16);
|
---|
811 | HWND16 WINAPI GetWindow16(HWND16,WORD);
|
---|
812 | HDC16 WINAPI GetWindowDC16(HWND16);
|
---|
813 | LONG WINAPI GetWindowLong16(HWND16,INT16);
|
---|
814 | BOOL16 WINAPI GetWindowPlacement16(HWND16,LPWINDOWPLACEMENT16);
|
---|
815 | void WINAPI GetWindowRect16(HWND16,LPRECT16);
|
---|
816 | HTASK16 WINAPI GetWindowTask16(HWND16);
|
---|
817 | INT16 WINAPI GetWindowText16(HWND16,SEGPTR,INT16);
|
---|
818 | INT16 WINAPI GetWindowTextLength16(HWND16);
|
---|
819 | WORD WINAPI GetWindowWord16(HWND16,INT16);
|
---|
820 | ATOM WINAPI GlobalAddAtom16(LPCSTR);
|
---|
821 | ATOM WINAPI GlobalDeleteAtom16(ATOM);
|
---|
822 | ATOM WINAPI GlobalFindAtom16(LPCSTR);
|
---|
823 | UINT16 WINAPI GlobalGetAtomName16(ATOM,LPSTR,INT16);
|
---|
824 | VOID WINAPI HideCaret16(HWND16);
|
---|
825 | BOOL16 WINAPI HiliteMenuItem16(HWND16,HMENU16,UINT16,UINT16);
|
---|
826 | DWORD WINAPI IconSize16(void);
|
---|
827 | void WINAPI InflateRect16(LPRECT16,INT16,INT16);
|
---|
828 | HQUEUE16 WINAPI InitThreadInput16(WORD,WORD);
|
---|
829 | BOOL16 WINAPI InSendMessage16(void);
|
---|
830 | BOOL16 WINAPI InsertMenu16(HMENU16,UINT16,UINT16,UINT16,SEGPTR);
|
---|
831 | BOOL16 WINAPI InsertMenuItem16(HMENU16,UINT16,BOOL16,const MENUITEMINFO16*);
|
---|
832 | BOOL16 WINAPI IntersectRect16(LPRECT16,const RECT16*,const RECT16*);
|
---|
833 | void WINAPI InvalidateRect16(HWND16,const RECT16*,BOOL16);
|
---|
834 | void WINAPI InvalidateRgn16(HWND16,HRGN16,BOOL16);
|
---|
835 | void WINAPI InvertRect16(HDC16,const RECT16*);
|
---|
836 | BOOL16 WINAPI IsCharAlpha16(CHAR);
|
---|
837 | BOOL16 WINAPI IsCharAlphaNumeric16(CHAR);
|
---|
838 | BOOL16 WINAPI IsCharLower16(CHAR);
|
---|
839 | BOOL16 WINAPI IsCharUpper16(CHAR);
|
---|
840 | BOOL16 WINAPI IsChild16(HWND16,HWND16);
|
---|
841 | BOOL16 WINAPI IsClipboardFormatAvailable16(UINT16);
|
---|
842 | UINT16 WINAPI IsDlgButtonChecked16(HWND16,UINT16);
|
---|
843 | BOOL16 WINAPI IsIconic16(HWND16);
|
---|
844 | BOOL16 WINAPI IsMenu16(HMENU16);
|
---|
845 | BOOL16 WINAPI IsRectEmpty16(const RECT16*);
|
---|
846 | BOOL16 WINAPI IsWindowEnabled16(HWND16);
|
---|
847 | BOOL16 WINAPI IsWindowVisible16(HWND16);
|
---|
848 | BOOL16 WINAPI IsZoomed16(HWND16);
|
---|
849 | BOOL16 WINAPI KillSystemTimer16(HWND16,UINT16);
|
---|
850 | BOOL16 WINAPI KillTimer16(HWND16,UINT16);
|
---|
851 | HBITMAP16 WINAPI LoadBitmap16(HANDLE16,LPCSTR);
|
---|
852 | HCURSOR16 WINAPI LoadCursor16(HINSTANCE16,LPCSTR);
|
---|
853 | HICON16 WINAPI LoadIcon16(HINSTANCE16,LPCSTR);
|
---|
854 | HANDLE16 WINAPI LoadImage16(HINSTANCE16,LPCSTR,UINT16,INT16,INT16,UINT16);
|
---|
855 | HMENU16 WINAPI LoadMenu16(HINSTANCE16,LPCSTR);
|
---|
856 | HMENU16 WINAPI LoadMenuIndirect16(LPCVOID);
|
---|
857 | INT16 WINAPI LoadString16(HINSTANCE16,UINT16,LPSTR,INT16);
|
---|
858 | BOOL16 WINAPI LockWindowUpdate16(HWND16);
|
---|
859 | INT16 WINAPI LookupIconIdFromDirectoryEx16(LPBYTE,BOOL16,INT16,INT16,UINT16);
|
---|
860 | void WINAPI MapDialogRect16(HWND16,LPRECT16);
|
---|
861 | void WINAPI MapWindowPoints16(HWND16,HWND16,LPPOINT16,UINT16);
|
---|
862 | VOID WINAPI MessageBeep16(UINT16);
|
---|
863 | INT16 WINAPI MessageBox16(HWND16,LPCSTR,LPCSTR,UINT16);
|
---|
864 | INT16 WINAPI MessageBoxIndirect16(LPMSGBOXPARAMS16);
|
---|
865 | BOOL16 WINAPI ModifyMenu16(HMENU16,UINT16,UINT16,UINT16,SEGPTR);
|
---|
866 | BOOL16 WINAPI MoveWindow16(HWND16,INT16,INT16,INT16,INT16,BOOL16);
|
---|
867 | void WINAPI OffsetRect16(LPRECT16,INT16,INT16);
|
---|
868 | BOOL16 WINAPI OpenClipboard16(HWND16);
|
---|
869 | BOOL16 WINAPI OpenIcon16(HWND16);
|
---|
870 | BOOL16 WINAPI PeekMessage16(MSG16*,HWND16,UINT16,UINT16,UINT16);
|
---|
871 | BOOL16 WINAPI PeekMessage32_16(MSG32_16*,HWND16,UINT16,UINT16,UINT16,BOOL16);
|
---|
872 | BOOL16 WINAPI PostAppMessage16(HTASK16,UINT16,WPARAM16,LPARAM);
|
---|
873 | BOOL16 WINAPI PostMessage16(HWND16,UINT16,WPARAM16,LPARAM);
|
---|
874 | void WINAPI PostQuitMessage16(INT16);
|
---|
875 | BOOL16 WINAPI PtInRect16(const RECT16*,POINT16);
|
---|
876 | UINT16 WINAPI RealizePalette16(HDC16);
|
---|
877 | BOOL16 WINAPI RedrawWindow16(HWND16,const RECT16*,HRGN16,UINT16);
|
---|
878 | ATOM WINAPI RegisterClass16(const WNDCLASS16*);
|
---|
879 | ATOM WINAPI RegisterClassEx16(const WNDCLASSEX16*);
|
---|
880 | UINT16 WINAPI RegisterClipboardFormat16(LPCSTR);
|
---|
881 | BOOL WINAPI RegisterShellHook16(HWND16,UINT16);
|
---|
882 | INT16 WINAPI ReleaseDC16(HWND16,HDC16);
|
---|
883 | BOOL16 WINAPI RemoveMenu16(HMENU16,UINT16,UINT16);
|
---|
884 | HANDLE16 WINAPI RemoveProp16(HWND16,LPCSTR);
|
---|
885 | VOID WINAPI ReplyMessage16(LRESULT);
|
---|
886 | void WINAPI ScreenToClient16(HWND16,LPPOINT16);
|
---|
887 | VOID WINAPI ScrollChildren16(HWND16,UINT16,WPARAM16,LPARAM);
|
---|
888 | BOOL16 WINAPI ScrollDC16(HDC16,INT16,INT16,const RECT16*,const RECT16*,
|
---|
889 | HRGN16,LPRECT16);
|
---|
890 | void WINAPI ScrollWindow16(HWND16,INT16,INT16,const RECT16*,const RECT16*);
|
---|
891 | INT16 WINAPI ScrollWindowEx16(HWND16,INT16,INT16,const RECT16*,
|
---|
892 | const RECT16*,HRGN16,LPRECT16,UINT16);
|
---|
893 | HPALETTE16 WINAPI SelectPalette16(HDC16,HPALETTE16,BOOL16);
|
---|
894 | LRESULT WINAPI SendDlgItemMessage16(HWND16,INT16,UINT16,WPARAM16,LPARAM);
|
---|
895 | LRESULT WINAPI SendMessage16(HWND16,UINT16,WPARAM16,LPARAM);
|
---|
896 | HWND16 WINAPI SetActiveWindow16(HWND16);
|
---|
897 | HWND16 WINAPI SetCapture16(HWND16);
|
---|
898 | VOID WINAPI SetCaretBlinkTime16(UINT16);
|
---|
899 | VOID WINAPI SetCaretPos16(INT16,INT16);
|
---|
900 | LONG WINAPI SetClassLong16(HWND16,INT16,LONG);
|
---|
901 | WORD WINAPI SetClassWord16(HWND16,INT16,WORD);
|
---|
902 | HANDLE16 WINAPI SetClipboardData16(UINT16,HANDLE16);
|
---|
903 | HWND16 WINAPI SetClipboardViewer16(HWND16);
|
---|
904 | INT16 WINAPI SetCommBreak16(INT16);
|
---|
905 | HCURSOR16 WINAPI SetCursor16(HCURSOR16);
|
---|
906 | void WINAPI SetCursorPos16(INT16,INT16);
|
---|
907 | BOOL16 WINAPI SetDeskWallPaper16(LPCSTR);
|
---|
908 | void WINAPI SetDlgItemInt16(HWND16,INT16,UINT16,BOOL16);
|
---|
909 | void WINAPI SetDlgItemText16(HWND16,INT16,SEGPTR);
|
---|
910 | VOID WINAPI SetDoubleClickTime16(UINT16);
|
---|
911 | HWND16 WINAPI SetFocus16(HWND16);
|
---|
912 | BOOL16 WINAPI SetForegroundWindow16(HWND16);
|
---|
913 | void WINAPI SetInternalWindowPos16(HWND16,UINT16,LPRECT16,LPPOINT16);
|
---|
914 | BOOL16 WINAPI SetMenu16(HWND16,HMENU16);
|
---|
915 | BOOL16 WINAPI SetMenuContextHelpId16(HMENU16,DWORD);
|
---|
916 | BOOL16 WINAPI SetMenuItemBitmaps16(HMENU16,UINT16,UINT16,HBITMAP16,HBITMAP16);
|
---|
917 | BOOL16 WINAPI SetMessageQueue16(INT16);
|
---|
918 | HWND16 WINAPI SetParent16(HWND16,HWND16);
|
---|
919 | BOOL16 WINAPI SetProp16(HWND16,LPCSTR,HANDLE16);
|
---|
920 | void WINAPI SetRect16(LPRECT16,INT16,INT16,INT16,INT16);
|
---|
921 | void WINAPI SetRectEmpty16(LPRECT16);
|
---|
922 | INT16 WINAPI SetScrollInfo16(HWND16,INT16,const SCROLLINFO*,BOOL16);
|
---|
923 | INT16 WINAPI SetScrollPos16(HWND16,INT16,INT16,BOOL16);
|
---|
924 | void WINAPI SetScrollRange16(HWND16,INT16,INT16,INT16,BOOL16);
|
---|
925 | VOID WINAPI SetSysColors16(INT16,const INT16*,const COLORREF*);
|
---|
926 | HWND16 WINAPI SetSysModalWindow16(HWND16);
|
---|
927 | BOOL16 WINAPI SetSystemMenu16(HWND16,HMENU16);
|
---|
928 | UINT16 WINAPI SetSystemTimer16(HWND16,UINT16,UINT16,TIMERPROC16);
|
---|
929 | UINT16 WINAPI SetTimer16(HWND16,UINT16,UINT16,TIMERPROC16);
|
---|
930 | LONG WINAPI SetWindowLong16(HWND16,INT16,LONG);
|
---|
931 | BOOL16 WINAPI SetWindowPlacement16(HWND16,const WINDOWPLACEMENT16*);
|
---|
932 | BOOL16 WINAPI SetWindowPos16(HWND16,HWND16,INT16,INT16,INT16,INT16,WORD);
|
---|
933 | INT16 WINAPI SetWindowRgn16(HWND16,HRGN16,BOOL16);
|
---|
934 | BOOL16 WINAPI SetWindowText16(HWND16,SEGPTR);
|
---|
935 | WORD WINAPI SetWindowWord16(HWND16,INT16,WORD);
|
---|
936 | VOID WINAPI ShowCaret16(HWND16);
|
---|
937 | INT16 WINAPI ShowCursor16(BOOL16);
|
---|
938 | void WINAPI ShowScrollBar16(HWND16,INT16,BOOL16);
|
---|
939 | VOID WINAPI ShowOwnedPopups16(HWND16,BOOL16);
|
---|
940 | BOOL16 WINAPI ShowWindow16(HWND16,INT16);
|
---|
941 | BOOL16 WINAPI SubtractRect16(LPRECT16,const RECT16*,const RECT16*);
|
---|
942 | BOOL16 WINAPI SwapMouseButton16(BOOL16);
|
---|
943 | VOID WINAPI SwitchToThisWindow16(HWND16,BOOL16);
|
---|
944 | BOOL16 WINAPI SystemParametersInfo16(UINT16,UINT16,LPVOID,UINT16);
|
---|
945 | LONG WINAPI TabbedTextOut16(HDC16,INT16,INT16,LPCSTR,INT16,INT16,const INT16*,INT16);
|
---|
946 | BOOL16 WINAPI TrackPopupMenu16(HMENU16,UINT16,INT16,INT16,INT16,HWND16,const RECT16*);
|
---|
947 | INT16 WINAPI TranslateAccelerator16(HWND16,HACCEL16,LPMSG16);
|
---|
948 | BOOL16 WINAPI TranslateMDISysAccel16(HWND16,LPMSG16);
|
---|
949 | BOOL16 WINAPI TranslateMessage16(const MSG16*);
|
---|
950 | BOOL16 WINAPI TranslateMessage32_16(const MSG32_16*,BOOL16);
|
---|
951 | INT16 WINAPI TransmitCommChar16(INT16,CHAR);
|
---|
952 | BOOL16 WINAPI UnionRect16(LPRECT16,const RECT16*,const RECT16*);
|
---|
953 | BOOL16 WINAPI UnregisterClass16(LPCSTR,HINSTANCE16);
|
---|
954 | VOID WINAPI UpdateWindow16(HWND16);
|
---|
955 | VOID WINAPI ValidateRect16(HWND16,const RECT16*);
|
---|
956 | VOID WINAPI ValidateRgn16(HWND16,HRGN16);
|
---|
957 | HWND16 WINAPI WindowFromDC16(HDC16);
|
---|
958 | HWND16 WINAPI WindowFromPoint16(POINT16);
|
---|
959 | BOOL16 WINAPI WinHelp16(HWND16,LPCSTR,UINT16,DWORD);
|
---|
960 | WORD WINAPI WNetAddConnection16(LPCSTR,LPCSTR,LPCSTR);
|
---|
961 | INT16 WINAPI wvsprintf16(LPSTR,LPCSTR,VA_LIST16);
|
---|
962 | BOOL16 WINAPI DrawState16A(HDC16,HBRUSH16,DRAWSTATEPROC16,LPARAM,WPARAM16,INT16,INT16,INT16,INT16,UINT16);
|
---|
963 | BOOL16 WINAPI IsDialogMessage16(HWND16,MSG16*);
|
---|
964 | INT16 WINAPI GetCommError16(INT16,LPCOMSTAT16);
|
---|
965 | INT16 WINAPI BuildCommDCB16(LPCSTR,LPDCB16);
|
---|
966 | INT16 WINAPI GetCommState16(INT16,LPDCB16);
|
---|
967 | INT16 WINAPI SetCommState16(LPDCB16);
|
---|
968 | INT16 WINAPI lstrcmp16(LPCSTR,LPCSTR);
|
---|
969 | INT16 WINAPI lstrcmpi16(LPCSTR,LPCSTR);
|
---|
970 |
|
---|
971 | /* undocumented functions */
|
---|
972 |
|
---|
973 | typedef VOID (*SYSTEMTIMERPROC)(WORD);
|
---|
974 |
|
---|
975 | void WINAPI ConvertDialog32To16(LPCVOID,DWORD,LPVOID);
|
---|
976 | WORD WINAPI CreateSystemTimer(WORD,SYSTEMTIMERPROC);
|
---|
977 | VOID WINAPI DisableSystemTimers16(void);
|
---|
978 | VOID WINAPI EnableSystemTimers16(void);
|
---|
979 | BOOL16 WINAPI EnumTaskWindows16(HTASK16,WNDENUMPROC16,LPARAM);
|
---|
980 | BOOL16 WINAPI GrayString16(HDC16,HBRUSH16,GRAYSTRINGPROC16,LPARAM,
|
---|
981 | INT16,INT16,INT16,INT16,INT16);
|
---|
982 | DWORD WINAPI GetFileResourceSize16(LPCSTR,LPCSTR,LPCSTR,LPDWORD);
|
---|
983 | DWORD WINAPI GetFileResource16(LPCSTR,LPCSTR,LPCSTR,DWORD,DWORD,LPVOID);
|
---|
984 | FARPROC16 WINAPI SetTaskSignalProc(HTASK16,FARPROC16);
|
---|
985 |
|
---|
986 | #endif /* __WINE_WINE_WINUSER16_H */
|
---|