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