wined3d: Add one more FBO error status code.
[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 #define SBM_SETRANGEREDRAW16     WM_NULL  /* Not in Win16 */
405 #define SBM_SETSCROLLINFO16      WM_NULL  /* Not in Win16 */
406 #define SBM_GETSCROLLINFO16      WM_NULL  /* Not in Win16 */
407
408   /* CBT hook structures */
409
410 typedef struct
411 {
412     CREATESTRUCT16  *lpcs;
413     HWND16           hwndInsertAfter;
414 } CBT_CREATEWND16, *LPCBT_CREATEWND16;
415
416 typedef struct
417 {
418     BOOL16    fMouse;
419     HWND16    hWndActive;
420 } CBTACTIVATESTRUCT16, *LPCBTACTIVATESTRUCT16;
421
422   /* Debug hook structure */
423
424 typedef struct
425 {
426     HMODULE16   hModuleHook;
427     LPARAM      reserved;
428     LPARAM      lParam;
429     WPARAM16    wParam;
430     INT16       code;
431 } DEBUGHOOKINFO16, *LPDEBUGHOOKINFO16;
432
433 #define GETMAXLPT       8
434 #define GETMAXCOM       9
435 #define GETBASEIRQ      10
436
437 /* GetFreeSystemResources() parameters */
438
439 #define GFSR_SYSTEMRESOURCES   0x0000
440 #define GFSR_GDIRESOURCES      0x0001
441 #define GFSR_USERRESOURCES     0x0002
442
443 /* CreateWindow() coordinates */
444 #define CW_USEDEFAULT16 ((INT16)0x8000)
445
446 /* Win16 button control messages */
447 #define BM_GETCHECK16          (WM_USER+0)
448 #define BM_SETCHECK16          (WM_USER+1)
449 #define BM_GETSTATE16          (WM_USER+2)
450 #define BM_SETSTATE16          (WM_USER+3)
451 #define BM_SETSTYLE16          (WM_USER+4)
452 #define BM_CLICK16             WM_NULL  /* Does not exist in Win16 */
453 #define BM_GETIMAGE16          WM_NULL  /* Does not exist in Win16 */
454 #define BM_SETIMAGE16          WM_NULL  /* Does not exist in Win16 */
455
456 /* Static Control Messages */
457 #define STM_SETICON16       (WM_USER+0)
458 #define STM_GETICON16       (WM_USER+1)
459
460 /* Edit control messages */
461 #define EM_GETSEL16                (WM_USER+0)
462 #define EM_SETSEL16                (WM_USER+1)
463 #define EM_GETRECT16               (WM_USER+2)
464 #define EM_SETRECT16               (WM_USER+3)
465 #define EM_SETRECTNP16             (WM_USER+4)
466 #define EM_SCROLL16                (WM_USER+5)
467 #define EM_LINESCROLL16            (WM_USER+6)
468 #define EM_SCROLLCARET16           (WM_USER+7)
469 #define EM_GETMODIFY16             (WM_USER+8)
470 #define EM_SETMODIFY16             (WM_USER+9)
471 #define EM_GETLINECOUNT16          (WM_USER+10)
472 #define EM_LINEINDEX16             (WM_USER+11)
473 #define EM_SETHANDLE16             (WM_USER+12)
474 #define EM_GETHANDLE16             (WM_USER+13)
475 #define EM_GETTHUMB16              (WM_USER+14)
476 #define EM_LINELENGTH16            (WM_USER+17)
477 #define EM_REPLACESEL16            (WM_USER+18)
478 #define EM_GETLINE16               (WM_USER+20)
479 #define EM_LIMITTEXT16             (WM_USER+21)
480 #define EM_CANUNDO16               (WM_USER+22)
481 #define EM_UNDO16                  (WM_USER+23)
482 #define EM_FMTLINES16              (WM_USER+24)
483 #define EM_LINEFROMCHAR16          (WM_USER+25)
484 #define EM_SETTABSTOPS16           (WM_USER+27)
485 #define EM_SETPASSWORDCHAR16       (WM_USER+28)
486 #define EM_EMPTYUNDOBUFFER16       (WM_USER+29)
487 #define EM_GETFIRSTVISIBLELINE16   (WM_USER+30)
488 #define EM_SETREADONLY16           (WM_USER+31)
489 #define EM_SETWORDBREAKPROC16      (WM_USER+32)
490 #define EM_GETWORDBREAKPROC16      (WM_USER+33)
491 #define EM_GETPASSWORDCHAR16       (WM_USER+34)
492 /*
493   not in win16:
494     EM_SETMARGINS16            WM_NULL
495     EM_GETMARGINS16            WM_NULL
496     EM_GETLIMITTEXT16          WM_NULL
497     EM_POSFROMCHAR16           WM_NULL
498     EM_CHARFROMPOS16           WM_NULL
499     EM_SETLIMITTEXT16          WM_NULL - no name change in win16
500 */
501
502 typedef struct
503 {
504     UINT16      CtlType;
505     UINT16      CtlID;
506     UINT16      itemID;
507     UINT16      itemAction;
508     UINT16      itemState;
509     HWND16      hwndItem;
510     HDC16       hDC;
511     RECT16      rcItem;
512     DWORD       itemData;
513 } DRAWITEMSTRUCT16, *PDRAWITEMSTRUCT16, *LPDRAWITEMSTRUCT16;
514
515 typedef struct
516 {
517     UINT16      CtlType;
518     UINT16      CtlID;
519     UINT16      itemID;
520     UINT16      itemWidth;
521     UINT16      itemHeight;
522     DWORD       itemData;
523 } MEASUREITEMSTRUCT16, *PMEASUREITEMSTRUCT16, *LPMEASUREITEMSTRUCT16;
524
525 typedef struct
526 {
527     UINT16     CtlType;
528     UINT16     CtlID;
529     UINT16     itemID;
530     HWND16     hwndItem;
531     DWORD      itemData;
532 } DELETEITEMSTRUCT16, *LPDELETEITEMSTRUCT16;
533
534 typedef struct
535 {
536     UINT16      CtlType;
537     UINT16      CtlID;
538     HWND16      hwndItem;
539     UINT16      itemID1;
540     DWORD       itemData1;
541     UINT16      itemID2;
542     DWORD       itemData2;
543 } COMPAREITEMSTRUCT16, *LPCOMPAREITEMSTRUCT16;
544
545 /* DragObject stuff */
546
547 typedef struct
548 {
549     HWND16     hWnd;
550     HANDLE16   hScope;
551     WORD       wFlags;
552     HANDLE16   hList;
553     HANDLE16   hOfStruct;
554     POINT16    pt;
555     LONG       l;
556 } DRAGINFO16, *LPDRAGINFO16;
557
558 /* undocumented */
559 typedef struct tagCOPYDATASTRUCT16 {
560     DWORD dwData;
561     DWORD cbData;
562     SEGPTR lpData;
563 } COPYDATASTRUCT16, *PCOPYDATASTRUCT16;
564
565 #define DRAGOBJ_PROGRAM    0x0001
566 #define DRAGOBJ_DATA       0x0002
567 #define DRAGOBJ_DIRECTORY  0x0004
568 #define DRAGOBJ_MULTIPLE   0x0008
569 #define DRAGOBJ_EXTERNAL   0x8000
570
571 #define DRAG_PRINT 0x544E5250
572 #define DRAG_FILE  0x454C4946
573
574 #include <poppack.h>
575
576 /* WM_COMMNOTIFY flags */
577 #define CN_RECEIVE      0x0001
578 #define CN_TRANSMIT     0x0002
579 #define CN_EVENT        0x0004
580
581 BOOL16      WINAPI CheckMenuRadioItem16(HMENU16,UINT16,UINT16,UINT16,UINT16);
582 HICON16     WINAPI CopyImage16(HANDLE16,UINT16,INT16,INT16,UINT16);
583 HICON16     WINAPI CreateIconFromResource16(LPBYTE,UINT16,BOOL16,DWORD);
584 BOOL16      WINAPI EnumChildWindows16(HWND16,WNDENUMPROC16,LPARAM);
585 INT16       WINAPI EnumProps16(HWND16,PROPENUMPROC16);
586 BOOL16      WINAPI EnumWindows16(WNDENUMPROC16,LPARAM);
587 DWORD       WINAPI GetAppCompatFlags16(HTASK16);
588 INT16       WINAPI GetKBCodePage16(void);
589 INT16       WINAPI GetKeyboardType16(INT16);
590 INT16       WINAPI GetKeyNameText16(LONG,LPSTR,INT16);
591 INT16       WINAPI GetWindowRgn16(HWND16,HRGN16);
592 BOOL16      WINAPI IsWindow16(HWND16);
593 INT16       WINAPI LookupIconIdFromDirectory16(LPBYTE,BOOL16);
594 UINT16      WINAPI MapVirtualKey16(UINT16,UINT16);
595 FARPROC16   WINAPI SetWindowsHook16(INT16,HOOKPROC16);
596 HHOOK       WINAPI SetWindowsHookEx16(INT16,HOOKPROC16,HINSTANCE16,HTASK16);
597 BOOL16      WINAPI UnhookWindowsHook16(INT16,HOOKPROC16);
598 BOOL16      WINAPI UnhookWindowsHookEx16(HHOOK);
599 VOID        WINAPI CalcChildScroll16(HWND16,WORD);
600 VOID        WINAPI CascadeChildWindows16(HWND16,WORD);
601 INT16       WINAPI CloseComm16(INT16);
602 HGLOBAL16   WINAPI CreateCursorIconIndirect16(HINSTANCE16,CURSORICONINFO*,
603                                             LPCVOID,LPCVOID);
604 BOOL16      WINAPI DCHook16(HDC16,WORD,DWORD,LPARAM);
605 BOOL16      WINAPI DlgDirSelect16(HWND16,LPSTR,INT16);
606 BOOL16      WINAPI DlgDirSelectComboBox16(HWND16,LPSTR,INT16);
607 DWORD       WINAPI DumpIcon16(SEGPTR,WORD*,SEGPTR*,SEGPTR*);
608 BOOL16      WINAPI EnableCommNotification16(INT16,HWND16,INT16,INT16);
609 BOOL16      WINAPI EnableHardwareInput16(BOOL16);
610 VOID        WINAPI FillWindow16(HWND16,HWND16,HDC16,HBRUSH16);
611 INT16       WINAPI FlushComm16(INT16,INT16);
612 UINT16      WINAPI GetCommEventMask16(INT16,UINT16);
613 HBRUSH16    WINAPI GetControlBrush16(HWND16,HDC16,UINT16);
614 HWND16      WINAPI GetDesktopHwnd16(void);
615 WORD        WINAPI GetIconID16(HGLOBAL16,DWORD);
616 FARPROC16   WINAPI GetMouseEventProc16(void);
617 INT16       WINAPI InitApp16(HINSTANCE16);
618 BOOL16      WINAPI IsUserIdle16(void);
619 HGLOBAL16   WINAPI LoadCursorIconHandler16(HGLOBAL16,HMODULE16,HRSRC16);
620 HGLOBAL16   WINAPI LoadDIBCursorHandler16(HGLOBAL16,HMODULE16,HRSRC16);
621 HGLOBAL16   WINAPI LoadDIBIconHandler16(HGLOBAL16,HMODULE16,HRSRC16);
622 HICON16     WINAPI LoadIconHandler16(HGLOBAL16,BOOL16);
623 HMENU16     WINAPI LookupMenuHandle16(HMENU16,INT16);
624 INT16       WINAPI OpenComm16(LPCSTR,UINT16,UINT16);
625 VOID        WINAPI PaintRect16(HWND16,HWND16,HDC16,HBRUSH16,const RECT16*);
626 INT16       WINAPI ReadComm16(INT16,LPSTR,INT16);
627 SEGPTR      WINAPI SetCommEventMask16(INT16,UINT16);
628 BOOL16      WINAPI SetDeskPattern(void);
629 VOID        WINAPI TileChildWindows16(HWND16,WORD);
630 INT16       WINAPI UngetCommChar16(INT16,CHAR);
631 VOID        WINAPI UserYield16(void);
632 INT16       WINAPI WriteComm16(INT16,LPSTR,INT16);
633 BOOL16      WINAPI AdjustWindowRect16(LPRECT16,DWORD,BOOL16);
634 BOOL16      WINAPI AdjustWindowRectEx16(LPRECT16,DWORD,BOOL16,DWORD);
635 SEGPTR      WINAPI AnsiLower16(SEGPTR);
636 UINT16      WINAPI AnsiLowerBuff16(LPSTR,UINT16);
637 SEGPTR      WINAPI AnsiNext16(SEGPTR);
638 SEGPTR      WINAPI AnsiPrev16(LPCSTR,SEGPTR);
639 SEGPTR      WINAPI AnsiUpper16(SEGPTR);
640 UINT16      WINAPI AnsiUpperBuff16(LPSTR,UINT16);
641 BOOL16      WINAPI AnyPopup16(void);
642 BOOL16      WINAPI AppendMenu16(HMENU16,UINT16,UINT16,SEGPTR);
643 UINT16      WINAPI ArrangeIconicWindows16(HWND16);
644 HDWP16      WINAPI BeginDeferWindowPos16(INT16);
645 HDC16       WINAPI BeginPaint16(HWND16,LPPAINTSTRUCT16);
646 BOOL16      WINAPI BringWindowToTop16(HWND16);
647 BOOL16      WINAPI CallMsgFilter16(MSG16*,INT16);
648 BOOL16      WINAPI CallMsgFilter32_16(MSG32_16*,INT16,BOOL16);
649 LRESULT     WINAPI CallNextHookEx16(HHOOK,INT16,WPARAM16,LPARAM);
650 LRESULT     WINAPI CallWindowProc16(WNDPROC16,HWND16,UINT16,WPARAM16,LPARAM);
651 BOOL16      WINAPI ChangeClipboardChain16(HWND16,HWND16);
652 BOOL16      WINAPI ChangeMenu16(HMENU16,UINT16,SEGPTR,UINT16,UINT16);
653 BOOL16      WINAPI CheckDlgButton16(HWND16,INT16,UINT16);
654 BOOL16      WINAPI CheckMenuItem16(HMENU16,UINT16,UINT16);
655 BOOL16      WINAPI CheckRadioButton16(HWND16,UINT16,UINT16,UINT16);
656 HWND16      WINAPI ChildWindowFromPoint16(HWND16,POINT16);
657 HWND16      WINAPI ChildWindowFromPointEx16(HWND16,POINT16,UINT16);
658 INT16       WINAPI ClearCommBreak16(INT16);
659 VOID        WINAPI ClientToScreen16(HWND16,LPPOINT16);
660 BOOL16      WINAPI ClipCursor16(const RECT16*);
661 BOOL16      WINAPI CloseClipboard16(void);
662 BOOL16      WINAPI CloseWindow16(HWND16);
663 void        WINAPI ControlPanelInfo16(INT16, WORD, LPSTR);
664 HCURSOR16   WINAPI CopyCursor16(HINSTANCE16,HCURSOR16);
665 HICON16     WINAPI CopyIcon16(HINSTANCE16,HICON16);
666 BOOL16      WINAPI CopyRect16(RECT16*,const RECT16*);
667 INT16       WINAPI CountClipboardFormats16(void);
668 VOID        WINAPI CreateCaret16(HWND16,HBITMAP16,INT16,INT16);
669 HCURSOR16   WINAPI CreateCursor16(HINSTANCE16,INT16,INT16,INT16,INT16,LPCVOID,LPCVOID);
670 HWND16      WINAPI CreateDialog16(HINSTANCE16,LPCSTR,HWND16,DLGPROC16);
671 HWND16      WINAPI CreateDialogIndirect16(HINSTANCE16,LPCVOID,HWND16,DLGPROC16);
672 HWND16      WINAPI CreateDialogIndirectParam16(HINSTANCE16,LPCVOID,HWND16,
673                                                DLGPROC16,LPARAM);
674 HWND16      WINAPI CreateDialogParam16(HINSTANCE16,LPCSTR,HWND16,DLGPROC16,LPARAM);
675 HICON16     WINAPI CreateIcon16(HINSTANCE16,INT16,INT16,BYTE,BYTE,LPCVOID,LPCVOID);
676 HICON16     WINAPI CreateIconFromResourceEx16(LPBYTE,UINT16,BOOL16,DWORD,INT16,INT16,UINT16);
677 HMENU16     WINAPI CreateMenu16(void);
678 HMENU16     WINAPI CreatePopupMenu16(void);
679 HWND16      WINAPI CreateWindow16(LPCSTR,LPCSTR,DWORD,INT16,INT16,INT16,INT16,
680                                   HWND16,HMENU16,HINSTANCE16,LPVOID);
681 HWND16      WINAPI CreateWindowEx16(DWORD,LPCSTR,LPCSTR,DWORD,INT16,INT16,
682                                 INT16,INT16,HWND16,HMENU16,HINSTANCE16,LPVOID);
683 LRESULT     WINAPI DefDlgProc16(HWND16,UINT16,WPARAM16,LPARAM);
684 HDWP16      WINAPI DeferWindowPos16(HDWP16,HWND16,HWND16,INT16,INT16,INT16,INT16,UINT16);
685 LRESULT     WINAPI DefFrameProc16(HWND16,HWND16,UINT16,WPARAM16,LPARAM);
686 LRESULT     WINAPI DefHookProc16(INT16,WPARAM16,LPARAM,HHOOK*);
687 LRESULT     WINAPI DefMDIChildProc16(HWND16,UINT16,WPARAM16,LPARAM);
688 LRESULT     WINAPI DefWindowProc16(HWND16,UINT16,WPARAM16,LPARAM);
689 BOOL16      WINAPI DeleteMenu16(HMENU16,UINT16,UINT16);
690 VOID        WINAPI DestroyCaret16(void);
691 BOOL16      WINAPI DestroyCursor16(HCURSOR16);
692 BOOL16      WINAPI DestroyIcon16(HICON16);
693 BOOL16      WINAPI DestroyMenu16(HMENU16);
694 BOOL16      WINAPI DestroyWindow16(HWND16);
695 INT16       WINAPI DialogBox16(HINSTANCE16,LPCSTR,HWND16,DLGPROC16);
696 INT16       WINAPI DialogBoxIndirect16(HINSTANCE16,HANDLE16,HWND16,DLGPROC16);
697 INT16       WINAPI DialogBoxIndirectParam16(HINSTANCE16,HANDLE16,HWND16,DLGPROC16,LPARAM);
698 INT16       WINAPI DialogBoxParam16(HINSTANCE16,LPCSTR,HWND16,DLGPROC16,LPARAM);
699 LONG        WINAPI DispatchMessage16(const MSG16*);
700 LONG        WINAPI DispatchMessage32_16(const MSG32_16*,BOOL16);
701 INT16       WINAPI DlgDirList16(HWND16,LPSTR,INT16,INT16,UINT16);
702 INT16       WINAPI DlgDirListComboBox16(HWND16,LPSTR,INT16,INT16,UINT16);
703 BOOL16      WINAPI DlgDirSelectComboBoxEx16(HWND16,LPSTR,INT16,INT16);
704 BOOL16      WINAPI DlgDirSelectEx16(HWND16,LPSTR,INT16,INT16);
705 BOOL16      WINAPI DragDetect16(HWND16,POINT16);
706 DWORD       WINAPI DragObject16(HWND16,HWND16,UINT16,HANDLE16,WORD,HCURSOR16);
707 BOOL16      WINAPI DrawAnimatedRects16(HWND16,INT16,const RECT16*,const RECT16*);
708 BOOL16      WINAPI DrawCaption16(HWND16,HDC16,const RECT16*,UINT16);
709 BOOL16      WINAPI DrawCaptionTemp16(HWND16,HDC16, const RECT16*,HFONT16,HICON16,LPCSTR,UINT16);
710 BOOL16      WINAPI DrawEdge16(HDC16,LPRECT16,UINT16,UINT16);
711 void        WINAPI DrawFocusRect16(HDC16,const RECT16*);
712 BOOL16      WINAPI DrawFrameControl16(HDC16,LPRECT16,UINT16,UINT16);
713 BOOL16      WINAPI DrawIcon16(HDC16,INT16,INT16,HICON16);
714 BOOL16      WINAPI DrawIconEx16(HDC16,INT16,INT16,HICON16,INT16,INT16,
715                                 UINT16,HBRUSH16,UINT16);
716 VOID        WINAPI DrawMenuBar16(HWND16);
717 INT16       WINAPI DrawText16(HDC16,LPCSTR,INT16,LPRECT16,UINT16);
718 BOOL16      WINAPI EmptyClipboard16(void);
719 BOOL16      WINAPI EnableMenuItem16(HMENU16,UINT16,UINT16);
720 BOOL16      WINAPI EnableScrollBar16(HWND16,INT16,UINT16);
721 BOOL16      WINAPI EnableWindow16(HWND16,BOOL16);
722 BOOL16      WINAPI EndDeferWindowPos16(HDWP16);
723 BOOL16      WINAPI EndDialog16(HWND16,INT16);
724 BOOL16      WINAPI EndPaint16(HWND16,const PAINTSTRUCT16*);
725 UINT16      WINAPI EnumClipboardFormats16(UINT16);
726 BOOL16      WINAPI EqualRect16(const RECT16*,const RECT16*);
727 LONG        WINAPI EscapeCommFunction16(UINT16,UINT16);
728 INT16       WINAPI ExcludeUpdateRgn16(HDC16,HWND16);
729 BOOL16      WINAPI ExitWindows16(DWORD,UINT16);
730 INT16       WINAPI FillRect16(HDC16,const RECT16*,HBRUSH16);
731 HWND16      WINAPI FindWindow16(LPCSTR,LPCSTR);
732 HWND16      WINAPI FindWindowEx16(HWND16,HWND16,LPCSTR,LPCSTR);
733 BOOL16      WINAPI FlashWindow16(HWND16,BOOL16);
734 DWORD       WINAPI FormatMessage16(DWORD,SEGPTR,WORD,WORD,LPSTR,WORD,LPDWORD);
735 INT16       WINAPI FrameRect16(HDC16,const RECT16*,HBRUSH16);
736 HWND16      WINAPI GetActiveWindow16(void);
737 INT16       WINAPI GetAsyncKeyState16(INT16);
738 HWND16      WINAPI GetCapture16(void);
739 UINT16      WINAPI GetCaretBlinkTime16(void);
740 VOID        WINAPI GetCaretPos16(LPPOINT16);
741 BOOL16      WINAPI GetClassInfo16(HINSTANCE16,SEGPTR,WNDCLASS16 *);
742 BOOL16      WINAPI GetClassInfoEx16(HINSTANCE16,SEGPTR,WNDCLASSEX16 *);
743 LONG        WINAPI GetClassLong16(HWND16,INT16);
744 INT16       WINAPI GetClassName16(HWND16,LPSTR,INT16);
745 WORD        WINAPI GetClassWord16(HWND16,INT16);
746 void        WINAPI GetClientRect16(HWND16,LPRECT16);
747 HANDLE16    WINAPI GetClipboardData16(UINT16);
748 INT16       WINAPI GetClipboardFormatName16(UINT16,LPSTR,INT16);
749 HWND16      WINAPI GetClipboardOwner16(void);
750 HWND16      WINAPI GetClipboardViewer16(void);
751 void        WINAPI GetClipCursor16(LPRECT16);
752 DWORD       WINAPI GetCurrentTime16(void);
753 HCURSOR16   WINAPI GetCursor16(void);
754 BOOL16      WINAPI GetCursorPos16(LPPOINT16);
755 HDC16       WINAPI GetDC16(HWND16);
756 HDC16       WINAPI GetDCEx16(HWND16,HRGN16,DWORD);
757 HWND16      WINAPI GetDesktopWindow16(void);
758 INT16       WINAPI GetDlgCtrlID16(HWND16);
759 HWND16      WINAPI GetDlgItem16(HWND16,INT16);
760 UINT16      WINAPI GetDlgItemInt16(HWND16,INT16,BOOL16*,BOOL16);
761 INT16       WINAPI GetDlgItemText16(HWND16,INT16,SEGPTR,UINT16);
762 UINT16      WINAPI GetDoubleClickTime16(void);
763 HWND16      WINAPI GetFocus16(void);
764 HWND16      WINAPI GetForegroundWindow16(void);
765 BOOL16      WINAPI GetIconInfo16(HICON16,LPICONINFO16);
766 BOOL16      WINAPI GetInputState16(void);
767 UINT16      WINAPI GetInternalWindowPos16(HWND16,LPRECT16,LPPOINT16);
768 INT16       WINAPI GetKeyboardLayoutName16(LPSTR);
769 INT16       WINAPI GetKeyState16(INT16);
770 HWND16      WINAPI GetLastActivePopup16(HWND16);
771 HMENU16     WINAPI GetMenu16(HWND16);
772 DWORD       WINAPI GetMenuContextHelpId16(HMENU16);
773 INT16       WINAPI GetMenuItemCount16(HMENU16);
774 UINT16      WINAPI GetMenuItemID16(HMENU16,INT16);
775 BOOL16      WINAPI GetMenuItemRect16(HWND16,HMENU16,UINT16,LPRECT16);
776 UINT16      WINAPI GetMenuState16(HMENU16,UINT16,UINT16);
777 INT16       WINAPI GetMenuString16(HMENU16,UINT16,LPSTR,INT16,UINT16);
778 BOOL16      WINAPI GetMessage16(MSG16*,HWND16,UINT16,UINT16);
779 BOOL16      WINAPI GetMessage32_16(MSG32_16*,HWND16,UINT16,UINT16,BOOL16);
780 HWND16      WINAPI GetNextDlgGroupItem16(HWND16,HWND16,BOOL16);
781 HWND16      WINAPI GetNextDlgTabItem16(HWND16,HWND16,BOOL16);
782 HWND16      WINAPI GetNextWindow16(HWND16,WORD);
783 HWND16      WINAPI GetOpenClipboardWindow16(void);
784 HWND16      WINAPI GetParent16(HWND16);
785 INT16       WINAPI GetPriorityClipboardFormat16(UINT16*,INT16);
786 HANDLE16    WINAPI GetProp16(HWND16,LPCSTR);
787 DWORD       WINAPI GetQueueStatus16(UINT16);
788 BOOL16      WINAPI GetScrollInfo16(HWND16,INT16,LPSCROLLINFO);
789 INT16       WINAPI GetScrollPos16(HWND16,INT16);
790 BOOL16      WINAPI GetScrollRange16(HWND16,INT16,LPINT16,LPINT16);
791 HWND16      WINAPI GetShellWindow16(void);
792 HMENU16     WINAPI GetSubMenu16(HMENU16,INT16);
793 COLORREF    WINAPI GetSysColor16(INT16);
794 HBRUSH16    WINAPI GetSysColorBrush16(INT16);
795 HWND16      WINAPI GetSysModalWindow16(void);
796 HMENU16     WINAPI GetSystemMenu16(HWND16,BOOL16);
797 INT16       WINAPI GetSystemMetrics16(INT16);
798 DWORD       WINAPI GetTabbedTextExtent16(HDC16,LPCSTR,INT16,INT16,const INT16*);
799 HWND16      WINAPI GetTopWindow16(HWND16);
800 BOOL16      WINAPI GetUpdateRect16(HWND16,LPRECT16,BOOL16);
801 INT16       WINAPI GetUpdateRgn16(HWND16,HRGN16,BOOL16);
802 HWND16      WINAPI GetWindow16(HWND16,WORD);
803 HDC16       WINAPI GetWindowDC16(HWND16);
804 LONG        WINAPI GetWindowLong16(HWND16,INT16);
805 BOOL16      WINAPI GetWindowPlacement16(HWND16,LPWINDOWPLACEMENT16);
806 void        WINAPI GetWindowRect16(HWND16,LPRECT16);
807 HTASK16     WINAPI GetWindowTask16(HWND16);
808 INT16       WINAPI GetWindowText16(HWND16,SEGPTR,INT16);
809 INT16       WINAPI GetWindowTextLength16(HWND16);
810 WORD        WINAPI GetWindowWord16(HWND16,INT16);
811 ATOM        WINAPI GlobalAddAtom16(LPCSTR);
812 ATOM        WINAPI GlobalDeleteAtom16(ATOM);
813 ATOM        WINAPI GlobalFindAtom16(LPCSTR);
814 UINT16      WINAPI GlobalGetAtomName16(ATOM,LPSTR,INT16);
815 VOID        WINAPI HideCaret16(HWND16);
816 BOOL16      WINAPI HiliteMenuItem16(HWND16,HMENU16,UINT16,UINT16);
817 DWORD       WINAPI IconSize16(void);
818 void        WINAPI InflateRect16(LPRECT16,INT16,INT16);
819 HQUEUE16    WINAPI InitThreadInput16(WORD,WORD);
820 BOOL16      WINAPI InSendMessage16(void);
821 BOOL16      WINAPI InsertMenu16(HMENU16,UINT16,UINT16,UINT16,SEGPTR);
822 BOOL16      WINAPI InsertMenuItem16(HMENU16,UINT16,BOOL16,const MENUITEMINFO16*);
823 BOOL16      WINAPI IntersectRect16(LPRECT16,const RECT16*,const RECT16*);
824 void        WINAPI InvalidateRect16(HWND16,const RECT16*,BOOL16);
825 void        WINAPI InvalidateRgn16(HWND16,HRGN16,BOOL16);
826 void        WINAPI InvertRect16(HDC16,const RECT16*);
827 BOOL16      WINAPI IsCharAlpha16(CHAR);
828 BOOL16      WINAPI IsCharAlphaNumeric16(CHAR);
829 BOOL16      WINAPI IsCharLower16(CHAR);
830 BOOL16      WINAPI IsCharUpper16(CHAR);
831 BOOL16      WINAPI IsChild16(HWND16,HWND16);
832 BOOL16      WINAPI IsClipboardFormatAvailable16(UINT16);
833 UINT16      WINAPI IsDlgButtonChecked16(HWND16,UINT16);
834 BOOL16      WINAPI IsIconic16(HWND16);
835 BOOL16      WINAPI IsMenu16(HMENU16);
836 BOOL16      WINAPI IsRectEmpty16(const RECT16*);
837 BOOL16      WINAPI IsWindowEnabled16(HWND16);
838 BOOL16      WINAPI IsWindowVisible16(HWND16);
839 BOOL16      WINAPI IsZoomed16(HWND16);
840 BOOL16      WINAPI KillSystemTimer16(HWND16,UINT16);
841 BOOL16      WINAPI KillTimer16(HWND16,UINT16);
842 HBITMAP16   WINAPI LoadBitmap16(HANDLE16,LPCSTR);
843 HCURSOR16   WINAPI LoadCursor16(HINSTANCE16,LPCSTR);
844 HICON16     WINAPI LoadIcon16(HINSTANCE16,LPCSTR);
845 HANDLE16    WINAPI LoadImage16(HINSTANCE16,LPCSTR,UINT16,INT16,INT16,UINT16);
846 HMENU16     WINAPI LoadMenu16(HINSTANCE16,LPCSTR);
847 HMENU16     WINAPI LoadMenuIndirect16(LPCVOID);
848 INT16       WINAPI LoadString16(HINSTANCE16,UINT16,LPSTR,INT16);
849 BOOL16      WINAPI LockWindowUpdate16(HWND16);
850 INT16       WINAPI LookupIconIdFromDirectoryEx16(LPBYTE,BOOL16,INT16,INT16,UINT16);
851 void        WINAPI MapDialogRect16(HWND16,LPRECT16);
852 void        WINAPI MapWindowPoints16(HWND16,HWND16,LPPOINT16,UINT16);
853 VOID        WINAPI MessageBeep16(UINT16);
854 INT16       WINAPI MessageBox16(HWND16,LPCSTR,LPCSTR,UINT16);
855 INT16       WINAPI MessageBoxIndirect16(LPMSGBOXPARAMS16);
856 BOOL16      WINAPI ModifyMenu16(HMENU16,UINT16,UINT16,UINT16,SEGPTR);
857 BOOL16      WINAPI MoveWindow16(HWND16,INT16,INT16,INT16,INT16,BOOL16);
858 void        WINAPI OffsetRect16(LPRECT16,INT16,INT16);
859 BOOL16      WINAPI OpenClipboard16(HWND16);
860 BOOL16      WINAPI OpenIcon16(HWND16);
861 BOOL16      WINAPI PeekMessage16(MSG16*,HWND16,UINT16,UINT16,UINT16);
862 BOOL16      WINAPI PeekMessage32_16(MSG32_16*,HWND16,UINT16,UINT16,UINT16,BOOL16);
863 BOOL16      WINAPI PostAppMessage16(HTASK16,UINT16,WPARAM16,LPARAM);
864 BOOL16      WINAPI PostMessage16(HWND16,UINT16,WPARAM16,LPARAM);
865 void        WINAPI PostQuitMessage16(INT16);
866 BOOL16      WINAPI PtInRect16(const RECT16*,POINT16);
867 UINT16      WINAPI RealizePalette16(HDC16);
868 BOOL16      WINAPI RedrawWindow16(HWND16,const RECT16*,HRGN16,UINT16);
869 ATOM        WINAPI RegisterClass16(const WNDCLASS16*);
870 ATOM        WINAPI RegisterClassEx16(const WNDCLASSEX16*);
871 UINT16      WINAPI RegisterClipboardFormat16(LPCSTR);
872 BOOL        WINAPI RegisterShellHook16(HWND16,UINT16);
873 INT16       WINAPI ReleaseDC16(HWND16,HDC16);
874 BOOL16      WINAPI RemoveMenu16(HMENU16,UINT16,UINT16);
875 HANDLE16    WINAPI RemoveProp16(HWND16,LPCSTR);
876 VOID        WINAPI ReplyMessage16(LRESULT);
877 void        WINAPI ScreenToClient16(HWND16,LPPOINT16);
878 VOID        WINAPI ScrollChildren16(HWND16,UINT16,WPARAM16,LPARAM);
879 BOOL16      WINAPI ScrollDC16(HDC16,INT16,INT16,const RECT16*,const RECT16*,
880                       HRGN16,LPRECT16);
881 void        WINAPI ScrollWindow16(HWND16,INT16,INT16,const RECT16*,const RECT16*);
882 INT16       WINAPI ScrollWindowEx16(HWND16,INT16,INT16,const RECT16*,
883                                     const RECT16*,HRGN16,LPRECT16,UINT16);
884 HPALETTE16  WINAPI SelectPalette16(HDC16,HPALETTE16,BOOL16);
885 LRESULT     WINAPI SendDlgItemMessage16(HWND16,INT16,UINT16,WPARAM16,LPARAM);
886 LRESULT     WINAPI SendMessage16(HWND16,UINT16,WPARAM16,LPARAM);
887 HWND16      WINAPI SetActiveWindow16(HWND16);
888 HWND16      WINAPI SetCapture16(HWND16);
889 VOID        WINAPI SetCaretBlinkTime16(UINT16);
890 VOID        WINAPI SetCaretPos16(INT16,INT16);
891 LONG        WINAPI SetClassLong16(HWND16,INT16,LONG);
892 WORD        WINAPI SetClassWord16(HWND16,INT16,WORD);
893 HANDLE16    WINAPI SetClipboardData16(UINT16,HANDLE16);
894 HWND16      WINAPI SetClipboardViewer16(HWND16);
895 INT16       WINAPI SetCommBreak16(INT16);
896 HCURSOR16   WINAPI SetCursor16(HCURSOR16);
897 void        WINAPI SetCursorPos16(INT16,INT16);
898 BOOL16      WINAPI SetDeskWallPaper16(LPCSTR);
899 void        WINAPI SetDlgItemInt16(HWND16,INT16,UINT16,BOOL16);
900 void        WINAPI SetDlgItemText16(HWND16,INT16,SEGPTR);
901 VOID        WINAPI SetDoubleClickTime16(UINT16);
902 HWND16      WINAPI SetFocus16(HWND16);
903 BOOL16      WINAPI SetForegroundWindow16(HWND16);
904 void        WINAPI SetInternalWindowPos16(HWND16,UINT16,LPRECT16,LPPOINT16);
905 BOOL16      WINAPI SetMenu16(HWND16,HMENU16);
906 BOOL16      WINAPI SetMenuContextHelpId16(HMENU16,DWORD);
907 BOOL16      WINAPI SetMenuItemBitmaps16(HMENU16,UINT16,UINT16,HBITMAP16,HBITMAP16);
908 BOOL16      WINAPI SetMessageQueue16(INT16);
909 HWND16      WINAPI SetParent16(HWND16,HWND16);
910 BOOL16      WINAPI SetProp16(HWND16,LPCSTR,HANDLE16);
911 void        WINAPI SetRect16(LPRECT16,INT16,INT16,INT16,INT16);
912 void        WINAPI SetRectEmpty16(LPRECT16);
913 INT16       WINAPI SetScrollInfo16(HWND16,INT16,const SCROLLINFO*,BOOL16);
914 INT16       WINAPI SetScrollPos16(HWND16,INT16,INT16,BOOL16);
915 void        WINAPI SetScrollRange16(HWND16,INT16,INT16,INT16,BOOL16);
916 VOID        WINAPI SetSysColors16(INT16,const INT16*,const COLORREF*);
917 HWND16      WINAPI SetSysModalWindow16(HWND16);
918 BOOL16      WINAPI SetSystemMenu16(HWND16,HMENU16);
919 UINT16      WINAPI SetSystemTimer16(HWND16,UINT16,UINT16,TIMERPROC16);
920 UINT16      WINAPI SetTimer16(HWND16,UINT16,UINT16,TIMERPROC16);
921 LONG        WINAPI SetWindowLong16(HWND16,INT16,LONG);
922 BOOL16      WINAPI SetWindowPlacement16(HWND16,const WINDOWPLACEMENT16*);
923 BOOL16      WINAPI SetWindowPos16(HWND16,HWND16,INT16,INT16,INT16,INT16,WORD);
924 INT16       WINAPI SetWindowRgn16(HWND16,HRGN16,BOOL16);
925 BOOL16      WINAPI SetWindowText16(HWND16,SEGPTR);
926 WORD        WINAPI SetWindowWord16(HWND16,INT16,WORD);
927 VOID        WINAPI ShowCaret16(HWND16);
928 INT16       WINAPI ShowCursor16(BOOL16);
929 void        WINAPI ShowScrollBar16(HWND16,INT16,BOOL16);
930 VOID        WINAPI ShowOwnedPopups16(HWND16,BOOL16);
931 BOOL16      WINAPI ShowWindow16(HWND16,INT16);
932 BOOL16      WINAPI SubtractRect16(LPRECT16,const RECT16*,const RECT16*);
933 BOOL16      WINAPI SwapMouseButton16(BOOL16);
934 VOID        WINAPI SwitchToThisWindow16(HWND16,BOOL16);
935 BOOL16      WINAPI SystemParametersInfo16(UINT16,UINT16,LPVOID,UINT16);
936 LONG        WINAPI TabbedTextOut16(HDC16,INT16,INT16,LPCSTR,INT16,INT16,const INT16*,INT16);
937 BOOL16      WINAPI TrackPopupMenu16(HMENU16,UINT16,INT16,INT16,INT16,HWND16,const RECT16*);
938 INT16       WINAPI TranslateAccelerator16(HWND16,HACCEL16,LPMSG16);
939 BOOL16      WINAPI TranslateMDISysAccel16(HWND16,LPMSG16);
940 BOOL16      WINAPI TranslateMessage16(const MSG16*);
941 BOOL16      WINAPI TranslateMessage32_16(const MSG32_16*,BOOL16);
942 INT16       WINAPI TransmitCommChar16(INT16,CHAR);
943 BOOL16      WINAPI UnionRect16(LPRECT16,const RECT16*,const RECT16*);
944 BOOL16      WINAPI UnregisterClass16(LPCSTR,HINSTANCE16);
945 VOID        WINAPI UpdateWindow16(HWND16);
946 VOID        WINAPI ValidateRect16(HWND16,const RECT16*);
947 VOID        WINAPI ValidateRgn16(HWND16,HRGN16);
948 HWND16      WINAPI WindowFromDC16(HDC16);
949 HWND16      WINAPI WindowFromPoint16(POINT16);
950 BOOL16      WINAPI WinHelp16(HWND16,LPCSTR,UINT16,DWORD);
951 WORD        WINAPI WNetAddConnection16(LPCSTR,LPCSTR,LPCSTR);
952 INT16       WINAPI wvsprintf16(LPSTR,LPCSTR,VA_LIST16);
953 BOOL16      WINAPI DrawState16A(HDC16,HBRUSH16,DRAWSTATEPROC16,LPARAM,WPARAM16,INT16,INT16,INT16,INT16,UINT16);
954 BOOL16      WINAPI IsDialogMessage16(HWND16,MSG16*);
955 INT16       WINAPI GetCommError16(INT16,LPCOMSTAT16);
956 INT16       WINAPI BuildCommDCB16(LPCSTR,LPDCB16);
957 INT16       WINAPI GetCommState16(INT16,LPDCB16);
958 INT16       WINAPI SetCommState16(LPDCB16);
959 INT16       WINAPI lstrcmp16(LPCSTR,LPCSTR);
960 INT16       WINAPI lstrcmpi16(LPCSTR,LPCSTR);
961
962 /* undocumented functions */
963
964 typedef VOID (*SYSTEMTIMERPROC)(WORD);
965
966 void        WINAPI ConvertDialog32To16(LPCVOID,DWORD,LPVOID);
967 WORD        WINAPI CreateSystemTimer(WORD,SYSTEMTIMERPROC);
968 VOID        WINAPI DisableSystemTimers16(void);
969 VOID        WINAPI EnableSystemTimers16(void);
970 BOOL16      WINAPI EnumTaskWindows16(HTASK16,WNDENUMPROC16,LPARAM);
971 BOOL16      WINAPI GrayString16(HDC16,HBRUSH16,GRAYSTRINGPROC16,LPARAM,
972                                 INT16,INT16,INT16,INT16,INT16);
973 DWORD       WINAPI GetFileResourceSize16(LPCSTR,LPCSTR,LPCSTR,LPDWORD);
974 DWORD       WINAPI GetFileResource16(LPCSTR,LPCSTR,LPCSTR,DWORD,DWORD,LPVOID);
975 FARPROC16   WINAPI SetTaskSignalProc(HTASK16,FARPROC16);
976
977 #endif /* __WINE_WINE_WINUSER16_H */