1 /* Initial draft attempt of windows.h, by Peter MacDonald, pmacdona@sanjuan.uvic.ca */
9 typedef unsigned short UINT
;
10 typedef unsigned short WORD
;
11 typedef unsigned long DWORD
;
13 typedef unsigned short BOOL
;
14 typedef unsigned char BYTE
;
21 #define DECLARE_HANDLE(a) typedef HANDLE a;
23 DECLARE_HANDLE(HTASK
);
24 DECLARE_HANDLE(HDRVR
);
27 DECLARE_HANDLE(HCLASS
);
28 DECLARE_HANDLE(HCURSOR
);
29 DECLARE_HANDLE(HFONT
);
32 DECLARE_HANDLE(HPALETTE
);
33 DECLARE_HANDLE(HICON
);
34 DECLARE_HANDLE(HINSTANCE
);
35 DECLARE_HANDLE(HMENU
);
36 DECLARE_HANDLE(HBITMAP
);
37 DECLARE_HANDLE(HBRUSH
);
38 DECLARE_HANDLE(LOCALHANDLE
);
41 typedef const char *LPCSTR
;
45 typedef long (*FARPROC
)();
46 typedef FARPROC DLGPROC
;
47 typedef int CATCHBUF
[9];
48 typedef int *LPCATCHBUF
;
52 #define CW_USEDEFAULT ((short)0x8000)
58 #define CALLBACK PASCAL
60 #define NULL (void *)0
63 #define LOBYTE(w) ((BYTE)(w))
64 #define HIBYTE(w) ((BYTE)((UINT)(w) >> 8))
66 #define LOWORD(l) ((WORD)(l))
67 #define HIWORD(l) ((WORD)((DWORD)(l) >> 16))
69 #define MAKELONG(low, high) ((LONG)(((WORD)(low)) | \
70 (((DWORD)((WORD)(high))) << 16)))
73 #define max(a,b) (((a) > (b)) ? (a) : (b))
77 #define min(a,b) (((a) < (b)) ? (a) : (b))
85 typedef HANDLE HCLASS;
86 typedef HANDLE HCURSOR;
90 typedef HANDLE HPALETTE;
92 typedef HANDLE HINSTANCE;
94 typedef HANDLE HBITMAP;
95 typedef HANDLE HBRUSH;
96 typedef HANDLE LOCALHANDLE;
100 typedef void *LPVOID;
101 typedef long (*FARPROC)();
102 typedef int CATCHBUF[9];
103 typedef int *LPCATCHBUF;
107 #define CW_USEDEFAULT ((short)0x8000)
112 #define NULL (void *)0
116 typedef struct { short x
, y
; } POINT
;
117 typedef POINT
*PPOINT
;
118 typedef POINT
*NPPOINT
;
119 typedef POINT
*LPPOINT
;
127 #define MAKEPOINT(l) (*((POINT *)&(l)))
129 #define MAKELPARAM(low, high) ((LONG)(((WORD)(low)) | \
130 (((DWORD)((WORD)(high))) << 16)))
132 typedef struct { short left
, top
, right
, bottom
; } RECT
;
133 typedef RECT
*LPRECT
;
134 typedef RECT
*NPRECT
;
141 BOOL fRestore
, fIncUpdate
;
142 BYTE rgbReserved
[16];
145 typedef PAINTSTRUCT
*PPAINTSTRUCT
;
146 typedef PAINTSTRUCT
*NPPAINTSTRUCT
;
147 typedef PAINTSTRUCT
*LPPAINTSTRUCT
;
152 #define WINE_PACKED __attribute__ ((packed))
158 typedef LONG (*WNDPROC
)(HWND
, UINT
, WPARAM
, LPARAM
);
160 typedef LONG (* WNDPROC
)() WINE_PACKED
;
168 LONG (*lpfnWndProc
)() WINE_PACKED
;
170 short cbClsExtra
, cbWndExtra
;
174 HBRUSH hbrBackground
;
175 LPSTR lpszMenuName WINE_PACKED
;
176 LPSTR lpszClassName WINE_PACKED
;
177 } WNDCLASS
, *LPWNDCLASS
;
179 #define CS_VREDRAW 0x0001
180 #define CS_HREDRAW 0x0002
181 #define CS_KEYCVTWINDOW 0x0004
182 #define CS_DBLCLKS 0x0008
183 #define CS_OWNDC 0x0020
184 #define CS_CLASSDC 0x0040
185 #define CS_PARENTDC 0x0080
186 #define CS_NOKEYCVT 0x0100
187 #define CS_NOCLOSE 0x0200
188 #define CS_SAVEBITS 0x0800
189 #define CS_BYTEALIGNCLIENT 0x1000
190 #define CS_BYTEALIGNWINDOW 0x2000
191 #define CS_GLOBALCLASS 0x4000
193 /* Offsets for GetClassLong() and GetClassWord() */
194 #define GCL_MENUNAME (-8)
195 #define GCW_HBRBACKGROUND (-10)
196 #define GCW_HCURSOR (-12)
197 #define GCW_HICON (-14)
198 #define GCW_HMODULE (-16)
199 #define GCW_CBWNDEXTRA (-18)
200 #define GCW_CBCLSEXTRA (-20)
201 #define GCL_WNDPROC (-24)
202 #define GCW_STYLE (-26)
203 #define GCW_ATOM (-32)
208 void * lpCreateParams
;
216 LONG style WINE_PACKED
;
217 char * lpszName WINE_PACKED
;
218 char * lpszClass WINE_PACKED
;
219 DWORD dwExStyle WINE_PACKED
;
220 } CREATESTRUCT
, *LPCREATESTRUCT
;
226 } CLIENTCREATESTRUCT
, *LPCLIENTCREATESTRUCT
;
237 LONG style WINE_PACKED
;
238 LONG lParam WINE_PACKED
;
239 } MDICREATESTRUCT
, *LPMDICREATESTRUCT
;
241 /* Offsets for GetWindowLong() and GetWindowWord() */
242 #define GWL_EXSTYLE (-20)
243 #define GWL_STYLE (-16)
245 #define GWW_HWNDPARENT (-8)
246 #define GWW_HINSTANCE (-6)
247 #define GWL_WNDPROC (-4)
248 #define DWL_MSGRESULT 0
249 #define DWL_DLGPROC 4
252 /* GetWindow() constants */
253 #define GW_HWNDFIRST 0
254 #define GW_HWNDLAST 1
255 #define GW_HWNDNEXT 2
256 #define GW_HWNDPREV 3
260 /* WM_GETMINMAXINFO struct */
266 POINT ptMinTrackSize
;
267 POINT ptMaxTrackSize
;
270 /* RedrawWindow() flags */
271 #define RDW_INVALIDATE 0x0001
272 #define RDW_INTERNALPAINT 0x0002
273 #define RDW_ERASE 0x0004
274 #define RDW_VALIDATE 0x0008
275 #define RDW_NOINTERNALPAINT 0x0010
276 #define RDW_NOERASE 0x0020
277 #define RDW_NOCHILDREN 0x0040
278 #define RDW_ALLCHILDREN 0x0080
279 #define RDW_UPDATENOW 0x0100
280 #define RDW_ERASENOW 0x0200
281 #define RDW_FRAME 0x0400
282 #define RDW_NOFRAME 0x0800
284 /* WM_WINDOWPOSCHANGING/CHANGED struct */
288 HWND hwndInsertAfter
;
296 /* SetWindowPlacement() struct */
302 POINT ptMinPosition WINE_PACKED
;
303 POINT ptMaxPosition WINE_PACKED
;
304 RECT rcNormalPosition WINE_PACKED
;
305 } WINDOWPLACEMENT
, *LPWINDOWPLACEMENT
;
307 /* WINDOWPLACEMENT flags */
308 #define WPF_SETMINPOSITION 0x0001
309 #define WPF_RESTORETOMAXIMIZED 0x0002
311 /* WM_MOUSEACTIVATE return values */
312 #define MA_ACTIVATE 1
313 #define MA_ACTIVATEANDEAT 2
314 #define MA_NOACTIVATE 3
315 #define MA_NOACTIVATEANDEAT 4
317 /* WM_ACTIVATE wParam values */
318 #define WA_INACTIVE 0
320 #define WA_CLICKACTIVE 2
322 /* WM_NCCALCSIZE parameter structure */
326 WINDOWPOS FAR
* lppos
;
329 /* WM_NCCALCSIZE return flags */
330 #define WVR_ALIGNTOP 0x0010
331 #define WVR_ALIGNLEFT 0x0020
332 #define WVR_ALIGNBOTTOM 0x0040
333 #define WVR_ALIGNRIGHT 0x0080
334 #define WVR_HREDRAW 0x0100
335 #define WVR_VREDRAW 0x0200
336 #define WVR_REDRAW (WVR_HREDRAW | WVR_VREDRAW)
337 #define WVR_VALIDRECTS 0x0400
339 /* WM_NCHITTEST return codes */
341 #define HTTRANSPARENT (-1)
350 #define HTMINBUTTON 8
351 #define HTMAXBUTTON 9
356 #define HTTOPRIGHT 14
358 #define HTBOTTOMLEFT 16
359 #define HTBOTTOMRIGHT 17
361 #define HTGROWBOX HTSIZE
362 #define HTREDUCE HTMINBUTTON
363 #define HTZOOM HTMAXBUTTON
365 /* WM_SYSCOMMAND parameters */
366 #define SC_SIZE 0xf000
367 #define SC_MOVE 0xf010
368 #define SC_MINIMIZE 0xf020
369 #define SC_MAXIMIZE 0xf030
370 #define SC_NEXTWINDOW 0xf040
371 #define SC_PREVWINDOW 0xf050
372 #define SC_CLOSE 0xf060
373 #define SC_VSCROLL 0xf070
374 #define SC_HSCROLL 0xf080
375 #define SC_MOUSEMENU 0xf090
376 #define SC_KEYMENU 0xf100
377 #define SC_ARRANGE 0xf110
378 #define SC_RESTORE 0xf120
379 #define SC_TASKLIST 0xf130
380 #define SC_SCREENSAVE 0xf140
381 #define SC_HOTKEY 0xf150
385 /* cbWndExtra bytes for dialog class */
386 #define DLGWINDOWEXTRA 30
389 #define DS_ABSALIGN 0x001
390 #define DS_SYSMODAL 0x002
391 #define DS_LOCALEDIT 0x020
392 #define DS_SETFONT 0x040
393 #define DS_MODALFRAME 0x080
394 #define DS_NOIDLEMSG 0x100
396 /* Dialog messages */
397 #define DM_GETDEFID (WM_USER+0)
398 #define DM_SETDEFID (WM_USER+1)
400 #define DC_HASDEFID 0x534b
402 /* WM_GETDLGCODE values */
403 #define DLGC_WANTARROWS 0x0001
404 #define DLGC_WANTTAB 0x0002
405 #define DLGC_WANTALLKEYS 0x0004
406 #define DLGC_WANTMESSAGE 0x0004
407 #define DLGC_HASSETSEL 0x0008
408 #define DLGC_DEFPUSHBUTTON 0x0010
409 #define DLGC_UNDEFPUSHBUTTON 0x0020
410 #define DLGC_RADIOBUTTON 0x0040
411 #define DLGC_WANTCHARS 0x0080
412 #define DLGC_STATIC 0x0100
413 #define DLGC_BUTTON 0x2000
415 /* Standard dialog button IDs */
425 typedef struct tagMSG
430 DWORD lParam WINE_PACKED
;
431 DWORD time WINE_PACKED
;
432 POINT pt WINE_PACKED
;
437 #define MAKEINTATOM(i) ((LPCSTR)MAKELP(0, (i)))
440 /* Raster operations */
443 #define R2_NOTMERGEPEN 2
444 #define R2_MASKNOTPEN 3
445 #define R2_NOTCOPYPEN 4
446 #define R2_MASKPENNOT 5
449 #define R2_NOTMASKPEN 8
451 #define R2_NOTXORPEN 10
453 #define R2_MERGENOTPEN 12
454 #define R2_COPYPEN 13
455 #define R2_MERGEPENNOT 14
456 #define R2_MERGEPEN 15
459 #define SRCCOPY 0xcc0020
460 #define SRCPAINT 0xee0086
461 #define SRCAND 0x8800c6
462 #define SRCINVERT 0x660046
463 #define SRCERASE 0x440328
464 #define NOTSRCCOPY 0x330008
465 #define NOTSRCERASE 0x1100a6
466 #define MERGECOPY 0xc000ca
467 #define MERGEPAINT 0xbb0226
468 #define PATCOPY 0xf00021
469 #define PATPAINT 0xfb0a09
470 #define PATINVERT 0x5a0049
471 #define DSTINVERT 0x550009
472 #define BLACKNESS 0x000042
473 #define WHITENESS 0xff0062
475 /* StretchBlt() modes */
476 #define BLACKONWHITE 1
477 #define WHITEONBLACK 2
478 #define COLORONCOLOR 3
480 #define STRETCH_ANDSCANS BLACKONWHITE
481 #define STRETCH_ORSCANS WHITEONBLACK
482 #define STRETCH_DELETESCANS COLORONCOLOR
487 typedef DWORD COLORREF
;
489 #define RGB(r,g,b) ((COLORREF)((r) | ((g) << 8) | ((b) << 16)))
490 #define PALETTERGB(r,g,b) (0x02000000 | RGB(r,g,b))
491 #define PALETTEINDEX(i) ((COLORREF)(0x01000000 | (WORD)(i)))
493 #define GetRValue(rgb) ((rgb) & 0xff)
494 #define GetGValue(rgb) (((rgb) >> 8) & 0xff)
495 #define GetBValue(rgb) (((rgb) >> 16) & 0xff)
497 #define COLOR_SCROLLBAR 0
498 #define COLOR_BACKGROUND 1
499 #define COLOR_ACTIVECAPTION 2
500 #define COLOR_INACTIVECAPTION 3
502 #define COLOR_WINDOW 5
503 #define COLOR_WINDOWFRAME 6
504 #define COLOR_MENUTEXT 7
505 #define COLOR_WINDOWTEXT 8
506 #define COLOR_CAPTIONTEXT 9
507 #define COLOR_ACTIVEBORDER 10
508 #define COLOR_INACTIVEBORDER 11
509 #define COLOR_APPWORKSPACE 12
510 #define COLOR_HIGHLIGHT 13
511 #define COLOR_HIGHLIGHTTEXT 14
512 #define COLOR_BTNFACE 15
513 #define COLOR_BTNSHADOW 16
514 #define COLOR_GRAYTEXT 17
515 #define COLOR_BTNTEXT 18
516 #define COLOR_INACTIVECAPTIONTEXT 19
517 #define COLOR_BTNHIGHLIGHT 20
519 /* WM_CTLCOLOR values */
520 #define CTLCOLOR_MSGBOX 0
521 #define CTLCOLOR_EDIT 1
522 #define CTLCOLOR_LISTBOX 2
523 #define CTLCOLOR_BTN 3
524 #define CTLCOLOR_DLG 4
525 #define CTLCOLOR_SCROLLBAR 5
526 #define CTLCOLOR_STATIC 6
530 typedef struct tagBITMAP
538 void * bmBits WINE_PACKED
;
541 typedef BITMAP
*PBITMAP
;
542 typedef BITMAP
*NPBITMAP
;
543 typedef BITMAP
*LPBITMAP
;
547 typedef struct tagLOGBRUSH
550 COLORREF lbColor WINE_PACKED
;
552 } LOGBRUSH
, *PLOGBRUSH
, *NPLOGBRUSH
, *LPLOGBRUSH
;
561 #define BS_DIBPATTERN 5
564 #define HS_HORIZONTAL 0
565 #define HS_VERTICAL 1
566 #define HS_FDIAGONAL 2
567 #define HS_BDIAGONAL 3
569 #define HS_DIAGCROSS 5
573 #define LF_FACESIZE 32
574 typedef struct tagLOGFONT
576 short lfHeight
, lfWidth
, lfEscapement
, lfOrientation
, lfWeight
;
577 BYTE lfItalic
, lfUnderline
, lfStrikeOut
, lfCharSet
;
578 BYTE lfOutPrecision
, lfClipPrecision
, lfQuality
, lfPitchAndFamily
;
579 BYTE lfFaceName
[LF_FACESIZE
] WINE_PACKED
;
580 } LOGFONT
, *PLOGFONT
, *NPLOGFONT
, *LPLOGFONT
;
582 /* lfWeight values */
583 #define FW_DONTCARE 0
585 #define FW_EXTRALIGHT 200
586 #define FW_ULTRALIGHT 200
588 #define FW_NORMAL 400
589 #define FW_REGULAR 400
590 #define FW_MEDIUM 500
591 #define FW_SEMIBOLD 600
592 #define FW_DEMIBOLD 600
594 #define FW_EXTRABOLD 800
595 #define FW_ULTRABOLD 800
599 /* lfCharSet values */
600 #define ANSI_CHARSET 0
601 #define DEFAULT_CHARSET 1
602 #define SYMBOL_CHARSET 2
603 #define SHIFTJIS_CHARSET 128
604 #define OEM_CHARSET 255
606 /* lfOutPrecision values */
607 #define OUT_DEFAULT_PRECIS 0
608 #define OUT_STRING_PRECIS 1
609 #define OUT_CHARACTER_PRECIS 2
610 #define OUT_STROKE_PRECIS 3
611 #define OUT_TT_PRECIS 4
612 #define OUT_DEVICE_PRECIS 5
613 #define OUT_RASTER_PRECIS 6
614 #define OUT_TT_ONLY_PRECIS 7
616 /* lfClipPrecision values */
617 #define CLIP_DEFAULT_PRECIS 0x00
618 #define CLIP_CHARACTER_PRECIS 0x01
619 #define CLIP_STROKE_PRECIS 0x02
620 #define CLIP_MASK 0x0F
621 #define CLIP_LH_ANGLES 0x10
622 #define CLIP_TT_ALWAYS 0x20
623 #define CLIP_EMBEDDED 0x80
625 /* lfQuality values */
626 #define DEFAULT_QUALITY 0
627 #define DRAFT_QUALITY 1
628 #define PROOF_QUALITY 2
630 /* lfPitchAndFamily pitch values */
631 #define DEFAULT_PITCH 0x00
632 #define FIXED_PITCH 0x01
633 #define VARIABLE_PITCH 0x02
634 #define FF_DONTCARE 0x00
635 #define FF_ROMAN 0x10
636 #define FF_SWISS 0x20
637 #define FF_MODERN 0x30
638 #define FF_SCRIPT 0x40
639 #define FF_DECORATIVE 0x50
641 typedef struct tagTEXTMETRIC
646 short tmInternalLeading
;
647 short tmExternalLeading
;
648 short tmAveCharWidth
;
649 short tmMaxCharWidth
;
658 BYTE tmPitchAndFamily
;
661 short tmDigitizedAspectX
;
662 short tmDigitizedAspectY
;
663 } TEXTMETRIC
, *PTEXTMETRIC
, *NPTEXTMETRIC
, *LPTEXTMETRIC
;
665 /* tmPitchAndFamily values */
666 #define TMPF_FIXED_PITCH 1
667 #define TMPF_VECTOR 2
668 #define TMPF_TRUETYPE 4
669 #define TMPF_DEVICE 8
672 #define TA_NOUPDATECP 0x00
673 #define TA_UPDATECP 0x01
675 #define TA_RIGHT 0x02
676 #define TA_CENTER 0x06
678 #define TA_BOTTOM 0x08
679 #define TA_BASELINE 0x18
682 typedef struct tagPALETTEENTRY
684 BYTE peRed
, peGreen
, peBlue
, peFlags
;
685 } PALETTEENTRY
, *LPPALETTEENTRY
;
687 typedef struct tagLOGPALETTE
691 PALETTEENTRY palPalEntry
[1] WINE_PACKED
;
692 } LOGPALETTE
, *PLOGPALETTE
, *NPLOGPALETTE
, *LPLOGPALETTE
;
697 typedef struct tagLOGPEN
700 POINT lopnWidth WINE_PACKED
;
701 COLORREF lopnColor WINE_PACKED
;
702 } LOGPEN
, *PLOGPEN
, *NPLOGPEN
, *LPLOGPEN
;
708 #define PS_DASHDOTDOT 4
710 #define PS_INSIDEFRAME 6
716 #define SIMPLEREGION 2
717 #define COMPLEXREGION 3
725 /* Device contexts */
728 #define DCX_WINDOW 0x00000001
729 #define DCX_CACHE 0x00000002
730 #define DCX_CLIPCHILDREN 0x00000008
731 #define DCX_CLIPSIBLINGS 0x00000010
732 #define DCX_PARENTCLIP 0x00000020
733 #define DCX_EXCLUDERGN 0x00000040
734 #define DCX_INTERSECTRGN 0x00000080
735 #define DCX_LOCKWINDOWUPDATE 0x00000400
736 #define DCX_USESTYLE 0x00010000
744 WORD rdFunction
, rdParam
[1];
746 typedef METARECORD
*LPMETARECORD
;
747 typedef METARECORD
*NPMETARECORD
;
748 typedef METARECORD
*PMETARECORD
;
750 /* Background modes */
751 #define TRANSPARENT 1
756 #define MM_LOMETRIC 2
757 #define MM_HIMETRIC 3
758 #define MM_LOENGLISH 4
759 #define MM_HIENGLISH 5
761 #define MM_ISOTROPIC 7
762 #define MM_ANISOTROPIC 8
764 /* Coordinate modes */
768 /* Device parameters for GetDeviceCaps() */
769 #define DRIVERVERSION 0
777 #define NUMBRUSHES 16
779 #define NUMMARKERS 20
782 #define PDEVICESIZE 26
785 #define POLYGONALCAPS 32
788 #define RASTERCAPS 38
792 #define LOGPIXELSX 88
793 #define LOGPIXELSY 90
794 #define SIZEPALETTE 104
795 #define NUMRESERVED 106
800 #define DT_RASDISPLAY 1
801 #define DT_RASPRINTER 2
802 #define DT_RASCAMERA 3
803 #define DT_CHARSTREAM 4
804 #define DT_METAFILE 5
805 #define DT_DISPFILE 6
808 #define CC_NONE 0x0000
809 #define CC_CIRCLES 0x0001
810 #define CC_PIE 0x0002
811 #define CC_CHORD 0x0004
812 #define CC_ELLIPSES 0x0008
813 #define CC_WIDE 0x0010
814 #define CC_STYLED 0x0020
815 #define CC_WIDESTYLED 0x0040
816 #define CC_INTERIORS 0x0080
817 #define CC_ROUNDRECT 0x0100
820 #define LC_NONE 0x0000
821 #define LC_POLYLINE 0x0002
822 #define LC_MARKER 0x0004
823 #define LC_POLYMARKER 0x0008
824 #define LC_WIDE 0x0010
825 #define LC_STYLED 0x0020
826 #define LC_WIDESTYLED 0x0040
827 #define LC_INTERIORS 0x0080
830 #define PC_NONE 0x0000
831 #define PC_POLYGON 0x0001
832 #define PC_RECTANGLE 0x0002
833 #define PC_WINDPOLYGON 0x0004
834 #define PC_SCANLINE 0x0008
835 #define PC_WIDE 0x0010
836 #define PC_STYLED 0x0020
837 #define PC_WIDESTYLED 0x0040
838 #define PC_INTERIORS 0x0080
841 #define TC_OP_CHARACTER 0x0001
842 #define TC_OP_STROKE 0x0002
843 #define TC_CP_STROKE 0x0004
844 #define TC_CR_90 0x0008
845 #define TC_CR_ANY 0x0010
846 #define TC_SF_X_YINDEP 0x0020
847 #define TC_SA_DOUBLE 0x0040
848 #define TC_SA_INTEGER 0x0080
849 #define TC_SA_CONTIN 0x0100
850 #define TC_EA_DOUBLE 0x0200
851 #define TC_IA_ABLE 0x0400
852 #define TC_UA_ABLE 0x0800
853 #define TC_SO_ABLE 0x1000
854 #define TC_RA_ABLE 0x2000
855 #define TC_VA_ABLE 0x4000
856 #define TC_RESERVED 0x8000
859 #define CP_NONE 0x0000
860 #define CP_RECTANGLE 0x0001
861 #define CP_REGION 0x0002
864 #define RC_NONE 0x0000
865 #define RC_BITBLT 0x0001
866 #define RC_BANDING 0x0002
867 #define RC_SCALING 0x0004
868 #define RC_BITMAP64 0x0008
869 #define RC_GDI20_OUTPUT 0x0010
870 #define RC_GDI20_STATE 0x0020
871 #define RC_SAVEBITMAP 0x0040
872 #define RC_DI_BITMAP 0x0080
873 #define RC_PALETTE 0x0100
874 #define RC_DIBTODEV 0x0200
875 #define RC_BIGFONT 0x0400
876 #define RC_STRETCHBLT 0x0800
877 #define RC_FLOODFILL 0x1000
878 #define RC_STRETCHDIB 0x2000
879 #define RC_OP_DX_OUTPUT 0x4000
880 #define RC_DEVBITS 0x8000
882 /* GetSystemMetrics() codes */
883 #define SM_CXSCREEN 0
884 #define SM_CYSCREEN 1
885 #define SM_CXVSCROLL 2
886 #define SM_CYHSCROLL 3
887 #define SM_CYCAPTION 4
888 #define SM_CXBORDER 5
889 #define SM_CYBORDER 6
890 #define SM_CXDLGFRAME 7
891 #define SM_CYDLGFRAME 8
892 #define SM_CYVTHUMB 9
893 #define SM_CXHTHUMB 10
896 #define SM_CXCURSOR 13
897 #define SM_CYCURSOR 14
899 #define SM_CXFULLSCREEN 16
900 #define SM_CYFULLSCREEN 17
901 #define SM_CYKANJIWINDOW 18
902 #define SM_MOUSEPRESENT 19
903 #define SM_CYVSCROLL 20
904 #define SM_CXHSCROLL 21
906 #define SM_SWAPBUTTON 23
907 #define SM_RESERVED1 24
908 #define SM_RESERVED2 25
909 #define SM_RESERVED3 26
910 #define SM_RESERVED4 27
915 #define SM_CXFRAME 32
916 #define SM_CYFRAME 33
917 #define SM_CXMINTRACK 34
918 #define SM_CYMINTRACK 35
919 #define SM_CXDOUBLECLK 36
920 #define SM_CYDOUBLECLK 37
921 #define SM_CXICONSPACING 38
922 #define SM_CYICONSPACING 39
923 #define SM_MENUDROPALIGNMENT 40
924 #define SM_PENWINDOWS 41
925 #define SM_DBCSENABLED 42
927 #define SM_CMETRICS 43
929 /* Device-independent bitmaps */
931 typedef struct { BYTE rgbBlue
, rgbGreen
, rgbRed
, rgbReserved
; } RGBQUAD
;
932 typedef struct { BYTE rgbtBlue
, rgbtGreen
, rgbtRed
; } RGBTRIPLE
;
934 typedef struct tagBITMAPINFOHEADER
943 DWORD biXPelsPerMeter
;
944 DWORD biYPelsPerMeter
;
946 DWORD biClrImportant
;
949 typedef BITMAPINFOHEADER
* LPBITMAPINFOHEADER
;
950 typedef BITMAPINFOHEADER
* NPBITMAPINFOHEADER
;
951 typedef BITMAPINFOHEADER
* PBITMAPINFOHEADER
;
959 BITMAPINFOHEADER bmiHeader
;
960 RGBQUAD bmiColors
[1];
962 typedef BITMAPINFO
*LPBITMAPINFO
;
963 typedef BITMAPINFO
*NPBITMAPINFO
;
964 typedef BITMAPINFO
*PBITMAPINFO
;
966 typedef struct tagBITMAPCOREHEADER
968 unsigned long bcSize
;
969 unsigned short bcWidth
;
970 unsigned short bcHeight
;
971 unsigned short bcPlanes
;
972 unsigned short bcBitCount
;
975 #define DIB_RGB_COLORS 0
976 #define DIB_PAL_COLORS 1
980 BYTE i
; /* much more .... */
982 typedef KANJISTRUCT
*LPKANJISTRUCT
;
983 typedef KANJISTRUCT
*NPKANJISTRUCT
;
984 typedef KANJISTRUCT
*PKANJISTRUCT
;
987 BYTE cBytes
, fFixedDisk
;
989 BYTE reserved
[4], szPathName
[128];
991 typedef OFSTRUCT
*POFSTRUCT
;
992 typedef OFSTRUCT
*NPOFSTRUCT
;
993 typedef OFSTRUCT
*LPOFSTRUCT
;
995 #define OF_READ 0x0000
996 #define OF_WRITE 0x0001
997 #define OF_READWRITE 0x0002
998 #define OF_CANCEL 0x0800
999 #define OF_CREATE 0x1000
1000 #define OF_DELETE 0x0200
1001 #define OF_EXIST 0x4000
1002 #define OF_PARSE 0x0100
1003 #define OF_PROMPT 0x2000
1004 #define OF_REOPEN 0x8000
1005 #define OF_SHARE_COMPAT 0x0000
1006 #define OF_SHARE_DENY_NONE 0x0040
1007 #define OF_SHARE_DENY_READ 0x0030
1008 #define OF_SHARE_DENY_WRITE 0x0020
1009 #define OF_SHARE_EXCLUSIVE 0x0010
1010 #define OF_VERIFY 0x0400
1012 #define DRIVE_CANNOTDETERMINE 0
1013 #define DRIVE_DOESNOTEXIST 1
1014 #define DRIVE_REMOVABLE 2
1015 #define DRIVE_FIXED 3
1016 #define DRIVE_REMOTE 4
1018 #define HFILE_ERROR -1
1020 #define DDL_READWRITE 0x0000
1021 #define DDL_READONLY 0x0001
1022 #define DDL_HIDDEN 0x0002
1023 #define DDL_SYSTEM 0x0004
1024 #define DDL_DIRECTORY 0x0010
1025 #define DDL_ARCHIVE 0x0020
1027 #define DDL_POSTMSGS 0x2000
1028 #define DDL_DRIVES 0x4000
1029 #define DDL_EXCLUSIVE 0x8000
1033 #define CBR_110 0xFF10
1034 #define CBR_300 0xFF11
1035 #define CBR_600 0xFF12
1036 #define CBR_1200 0xFF13
1037 #define CBR_2400 0xFF14
1038 #define CBR_4800 0xFF15
1039 #define CBR_9600 0xFF16
1040 #define CBR_14400 0xFF17
1041 #define CBR_19200 0xFF18
1042 #define CBR_38400 0xFF1B
1043 #define CBR_56000 0xFF1F
1044 #define CBR_128000 0xFF23
1045 #define CBR_256000 0xFF27
1049 #define EVENPARITY 2
1050 #define MARKPARITY 3
1051 #define SPACEPARITY 4
1052 #define ONESTOPBIT 0
1053 #define ONE5STOPBITS 1
1054 #define TWOSTOPBITS 2
1056 #define INFINITE 0xFFFF
1058 #define CE_RXOVER 0x0001
1059 #define CE_OVERRUN 0x0002
1060 #define CE_RXPARITY 0x0004
1061 #define CE_FRAME 0x0008
1062 #define CE_BREAK 0x0010
1063 #define CE_CTSTO 0x0020
1064 #define CE_DSRTO 0x0040
1065 #define CE_RLSDTO 0x0080
1066 #define CE_TXFULL 0x0100
1067 #define CE_PTO 0x0200
1068 #define CE_IOE 0x0400
1069 #define CE_DNS 0x0800
1070 #define CE_OOP 0x1000
1071 #define CE_MODE 0x8000
1076 #define IE_MEMORY -4
1077 #define IE_DEFAULT -5
1078 #define IE_HARDWARE -10
1079 #define IE_BYTESIZE -11
1080 #define IE_BAUDRATE -12
1082 #define EV_RXCHAR 0x0001
1083 #define EV_RXFLAG 0x0002
1084 #define EV_TXEMPTY 0x0004
1085 #define EV_CTS 0x0008
1086 #define EV_DSR 0x0010
1087 #define EV_RLSD 0x0020
1088 #define EV_BREAK 0x0040
1089 #define EV_ERR 0x0080
1090 #define EV_RING 0x0100
1091 #define EV_PERR 0x0200
1092 #define EV_CTSS 0x0400
1093 #define EV_DSRS 0x0800
1094 #define EV_RLSDS 0x1000
1095 #define EV_RINGTE 0x2000
1096 #define EV_RingTe EV_RINGTE
1107 #define GETBASEIRQ 10
1109 #define CN_RECEIVE 0x0001
1110 #define CN_TRANSMIT 0x0002
1111 #define CN_EVENT 0x0004
1113 typedef struct tagDCB
1125 UINT fRtsDisable
:1;
1127 UINT fOutxCtsFlow
:1;
1128 UINT fOutxDsrFlow
:1;
1130 UINT fDtrDisable
:1;
1150 typedef DCB FAR
* LPDCB
;
1152 typedef struct tagCOMSTAT
1159 #define CSTF_CTSHOLD 0x01
1160 #define CSTF_DSRHOLD 0x02
1161 #define CSTF_RLSDHOLD 0x04
1162 #define CSTF_XOFFHOLD 0x08
1163 #define CSTF_XOFFSENT 0x10
1164 #define CSTF_EOF 0x20
1165 #define CSTF_TXIM 0x40
1167 /* SystemParametersInfo */
1169 #define SPI_GETBEEP 1
1170 #define SPI_SETBEEP 2
1171 #define SPI_GETMOUSE 3
1172 #define SPI_SETMOUSE 4
1173 #define SPI_GETBORDER 5
1174 #define SPI_SETBORDER 6
1175 #define SPI_GETKEYBOARDSPEED 10
1176 #define SPI_SETKEYBOARDSPEED 11
1177 #define SPI_LANGDRIVER 12
1178 #define SPI_ICONHORIZONTALSPACING 13
1179 #define SPI_GETSCREENSAVETIMEOUT 14
1180 #define SPI_SETSCREENSAVETIMEOUT 15
1181 #define SPI_GETSCREENSAVEACTIVE 16
1182 #define SPI_SETSCREENSAVEACTIVE 17
1183 #define SPI_GETGRIDGRANULARITY 18
1184 #define SPI_SETGRIDGRANULARITY 19
1185 #define SPI_SETDESKWALLPAPER 20
1186 #define SPI_SETDESKPATTERN 21
1187 #define SPI_GETKEYBOARDDELAY 22
1188 #define SPI_SETKEYBOARDDELAY 23
1189 #define SPI_ICONVERTICALSPACING 24
1190 #define SPI_GETICONTITLEWRAP 25
1191 #define SPI_SETICONTITLEWRAP 26
1192 #define SPI_GETMENUDROPALIGNMENT 27
1193 #define SPI_SETMENUDROPALIGNMENT 28
1194 #define SPI_SETDOUBLECLKWIDTH 29
1195 #define SPI_SETDOUBLECLKHEIGHT 30
1196 #define SPI_GETICONTITLELOGFONT 31
1197 #define SPI_SETDOUBLECLICKTIME 32
1198 #define SPI_SETMOUSEBUTTONSWAP 33
1199 #define SPI_SETICONTITLELOGFONT 34
1200 #define SPI_GETFASTTASKSWITCH 35
1201 #define SPI_SETFASTTASKSWITCH 36
1203 /* SystemParametersInfo flags */
1205 #define SPIF_UPDATEINIFILE 1
1206 #define SPIF_SENDWININICHANGE 2
1210 #define WF_PMODE 0x0001
1211 #define WF_CPU286 0x0002
1212 #define WF_CPU386 0x0004
1213 #define WF_CPU486 0x0008
1214 #define WF_STANDARD 0x0010
1215 #define WF_WIN286 0x0010
1216 #define WF_ENHANCED 0x0020
1217 #define WF_WIN386 0x0020
1218 #define WF_CPU086 0x0040
1219 #define WF_CPU186 0x0080
1220 #define WF_LARGEFRAME 0x0100
1221 #define WF_SMALLFRAME 0x0200
1222 #define WF_80x87 0x0400
1223 #define WF_PAGING 0x0800
1224 #define WF_WLO 0x8000
1228 HANDLE objectHandle
[1];
1230 typedef HANDLETABLE
*LPHANDLETABLE
;
1232 #define MAKEINTRESOURCE(i) (LPSTR)((DWORD)((WORD)(i)))
1234 #define IDI_APPLICATION MAKEINTRESOURCE(32512)
1235 #define IDI_HAND MAKEINTRESOURCE(32513)
1236 #define IDI_QUESTION MAKEINTRESOURCE(32514)
1237 #define IDI_EXCLAMATION MAKEINTRESOURCE(32515)
1238 #define IDI_ASTERISK MAKEINTRESOURCE(32516)
1240 #define IDC_ARROW MAKEINTRESOURCE(32512)
1241 #define IDC_IBEAM MAKEINTRESOURCE(32513)
1242 #define IDC_WAIT MAKEINTRESOURCE(32514)
1243 #define IDC_CROSS MAKEINTRESOURCE(32515)
1244 #define IDC_UPARROW MAKEINTRESOURCE(32516)
1245 #define IDC_SIZE MAKEINTRESOURCE(32540)
1246 #define IDC_ICON MAKEINTRESOURCE(32541)
1247 #define IDC_SIZENWSE MAKEINTRESOURCE(32542)
1248 #define IDC_SIZENESW MAKEINTRESOURCE(32543)
1249 #define IDC_SIZEWE MAKEINTRESOURCE(32544)
1250 #define IDC_SIZENS MAKEINTRESOURCE(32545)
1252 /* OEM Resource Ordinal Numbers */
1253 #define OBM_CLOSE 32754
1254 #define OBM_UPARROW 32753
1255 #define OBM_DNARROW 32752
1256 #define OBM_RGARROW 32751
1257 #define OBM_LFARROW 32750
1258 #define OBM_REDUCE 32749
1259 #define OBM_ZOOM 32748
1260 #define OBM_RESTORE 32747
1261 #define OBM_REDUCED 32746
1262 #define OBM_ZOOMD 32745
1263 #define OBM_RESTORED 32744
1264 #define OBM_UPARROWD 32743
1265 #define OBM_DNARROWD 32742
1266 #define OBM_RGARROWD 32741
1267 #define OBM_LFARROWD 32740
1268 #define OBM_MNARROW 32739
1269 #define OBM_COMBO 32738
1270 #define OBM_UPARROWI 32737
1271 #define OBM_DNARROWI 32736
1272 #define OBM_RGARROWI 32735
1273 #define OBM_LFARROWI 32734
1275 #define OBM_OLD_CLOSE 32767
1276 #define OBM_SIZE 32766
1277 #define OBM_OLD_UPARROW 32765
1278 #define OBM_OLD_DNARROW 32764
1279 #define OBM_OLD_RGARROW 32763
1280 #define OBM_OLD_LFARROW 32762
1281 #define OBM_BTSIZE 32761
1282 #define OBM_CHECK 32760
1283 #define OBM_CHECKBOXES 32759
1284 #define OBM_BTNCORNERS 32758
1285 #define OBM_OLD_REDUCE 32757
1286 #define OBM_OLD_ZOOM 32756
1287 #define OBM_OLD_RESTORE 32755
1289 #define OCR_NORMAL 32512
1290 #define OCR_IBEAM 32513
1291 #define OCR_WAIT 32514
1292 #define OCR_CROSS 32515
1293 #define OCR_UP 32516
1294 #define OCR_SIZE 32640
1295 #define OCR_ICON 32641
1296 #define OCR_SIZENWSE 32642
1297 #define OCR_SIZENESW 32643
1298 #define OCR_SIZEWE 32644
1299 #define OCR_SIZENS 32645
1300 #define OCR_SIZEALL 32646
1301 #define OCR_ICOCUR 32647
1303 #define OIC_SAMPLE 32512
1304 #define OIC_HAND 32513
1305 #define OIC_QUES 32514
1306 #define OIC_BANG 32515
1307 #define OIC_NOTE 32516
1309 /* Stock GDI objects for GetStockObject() */
1311 #define WHITE_BRUSH 0
1312 #define LTGRAY_BRUSH 1
1313 #define GRAY_BRUSH 2
1314 #define DKGRAY_BRUSH 3
1315 #define BLACK_BRUSH 4
1316 #define NULL_BRUSH 5
1317 #define HOLLOW_BRUSH 5
1321 #define OEM_FIXED_FONT 10
1322 #define ANSI_FIXED_FONT 11
1323 #define ANSI_VAR_FONT 12
1324 #define SYSTEM_FONT 13
1325 #define DEVICE_DEFAULT_FONT 14
1326 #define DEFAULT_PALETTE 15
1327 #define SYSTEM_FIXED_FONT 16
1330 enum { WM_NULL
, WM_CREATE
, WM_DESTROY
, WM_MOVE
, WM_UNUSED0
, WM_SIZE
, WM_ACTIVATE
,
1331 WM_SETFOCUS
, WM_KILLFOCUS
, WM_UNUSED1
, WM_ENABLE
, WM_SETREDRAW
,
1332 WM_SETTEXT
, WM_GETTEXT
, WM_GETTEXTLENGTH
, WM_PAINT
, WM_CLOSE
,
1333 WM_QUERYENDSESSION
, WM_QUIT
, WM_QUERYOPEN
, WM_ERASEBKGND
,
1334 WM_SYSCOLORCHANGE
, WM_ENDSESSION
, WM_UNUSED2
,
1335 WM_SHOWWINDOW
, WM_CTLCOLOR
, WM_WININICHANGE
, WM_DEVMODECHANGE
,
1336 WM_ACTIVATEAPP
, WM_FONTCHANGE
, WM_TIMECHANGE
, WM_CANCELMODE
, WM_SETCURSOR
,
1337 WM_MOUSEACTIVATE
, WM_CHILDACTIVATE
, WM_QUEUESYNC
, WM_GETMINMAXINFO
,
1338 WM_UNUSED3
, WM_PAINTICON
, WM_ICONERASEBKGND
, WM_NEXTDLGCTL
,
1339 WM_UNUSED4
, WM_SPOOLERSTATUS
, WM_DRAWITEM
, WM_MEASUREITEM
,
1340 WM_DELETEITEM
, WM_VKEYTOITEM
,
1341 WM_CHARTOITEM
, WM_SETFONT
, WM_GETFONT
};
1343 #define WM_WINDOWPOSCHANGING 0x0046
1344 #define WM_WINDOWPOSCHANGED 0x0047
1346 #define WM_NCCREATE 0x0081
1347 #define WM_NCDESTROY 0x0082
1348 #define WM_NCCALCSIZE 0x0083
1349 #define WM_NCHITTEST 0x0084
1350 #define WM_NCPAINT 0x0085
1351 #define WM_NCACTIVATE 0x0086
1353 #define WM_GETDLGCODE 0x0087
1355 /* Non-client mouse messages */
1356 #define WM_NCMOUSEMOVE 0x00a0
1357 #define WM_NCLBUTTONDOWN 0x00a1
1358 #define WM_NCLBUTTONUP 0x00a2
1359 #define WM_NCLBUTTONDBLCLK 0x00a3
1360 #define WM_NCRBUTTONDOWN 0x00a4
1361 #define WM_NCRBUTTONUP 0x00a5
1362 #define WM_NCRBUTTONDBLCLK 0x00a6
1363 #define WM_NCMBUTTONDOWN 0x00a7
1364 #define WM_NCMBUTTONUP 0x00a8
1365 #define WM_NCMBUTTONDBLCLK 0x00a9
1367 /* Keyboard messages */
1368 #define WM_KEYDOWN 0x0100
1369 #define WM_KEYUP 0x0101
1370 #define WM_CHAR 0x0102
1371 #define WM_DEADCHAR 0x0103
1372 #define WM_SYSKEYDOWN 0x0104
1373 #define WM_SYSKEYUP 0x0105
1374 #define WM_SYSCHAR 0x0106
1375 #define WM_SYSDEADCHAR 0x0107
1376 #define WM_KEYFIRST WM_KEYDOWN
1377 #define WM_KEYLAST 0x0108
1379 #define WM_INITDIALOG 0x0110
1380 #define WM_COMMAND 0x0111
1381 #define WM_SYSCOMMAND 0x0112
1382 #define WM_TIMER 0x0113
1383 #define WM_SYSTIMER 0x0118
1385 /* scroll messages */
1386 #define WM_HSCROLL 0x0114
1387 #define WM_VSCROLL 0x0115
1389 /* Mouse messages */
1390 #define WM_MOUSEMOVE 0x0200
1391 #define WM_LBUTTONDOWN 0x0201
1392 #define WM_LBUTTONUP 0x0202
1393 #define WM_LBUTTONDBLCLK 0x0203
1394 #define WM_RBUTTONDOWN 0x0204
1395 #define WM_RBUTTONUP 0x0205
1396 #define WM_RBUTTONDBLCLK 0x0206
1397 #define WM_MBUTTONDOWN 0x0207
1398 #define WM_MBUTTONUP 0x0208
1399 #define WM_MBUTTONDBLCLK 0x0209
1400 #define WM_MOUSEFIRST WM_MOUSEMOVE
1401 #define WM_MOUSELAST WM_MBUTTONDBLCLK
1403 #define WM_PARENTNOTIFY 0x0210
1405 #define WM_MDICREATE 0x0220
1406 #define WM_MDIDESTROY 0x0221
1407 #define WM_MDIACTIVATE 0x0222
1408 #define WM_MDIRESTORE 0x0223
1409 #define WM_MDINEXT 0x0224
1410 #define WM_MDIMAXIMIZE 0x0225
1411 #define WM_MDITILE 0x0226
1412 #define WM_MDICASCADE 0x0227
1413 #define WM_MDIICONARRANGE 0x0228
1414 #define WM_MDIGETACTIVE 0x0229
1415 #define WM_MDISETMENU 0x0230
1417 #define WM_ENTERSIZEMOVE 0x0231
1418 #define WM_EXITSIZEMOVE 0x0232
1421 #define WM_NULL 0x0000
1422 #define WM_USER 0x0400
1425 /* Key status flags for mouse events */
1426 #define MK_LBUTTON 0x0001
1427 #define MK_RBUTTON 0x0002
1428 #define MK_SHIFT 0x0004
1429 #define MK_CONTROL 0x0008
1430 #define MK_MBUTTON 0x0010
1432 /* Queue status flags */
1433 #define QS_KEY 0x0001
1434 #define QS_MOUSEMOVE 0x0002
1435 #define QS_MOUSEBUTTON 0x0004
1436 #define QS_MOUSE (QS_MOUSEMOVE | QS_MOUSEBUTTON)
1437 #define QS_POSTMESSAGE 0x0008
1438 #define QS_TIMER 0x0010
1439 #define QS_PAINT 0x0020
1440 #define QS_SENDMESSAGE 0x0040
1441 #define QS_ALLINPUT 0x007f
1443 /* PeekMessage() options */
1444 #define PM_NOREMOVE 0x0000
1445 #define PM_REMOVE 0x0001
1446 #define PM_NOYIELD 0x0002
1448 #define WM_SHOWWINDOW 0x0018
1450 /* WM_SHOWWINDOW wParam codes */
1451 #define SW_PARENTCLOSING 1
1452 #define SW_OTHERMAXIMIZED 2
1453 #define SW_PARENTOPENING 3
1454 #define SW_OTHERRESTORED 4
1456 enum { SW_HIDE
, SW_SHOWNORMAL
, SW_NORMAL
, SW_SHOWMINIMIZED
, SW_SHOWMAXIMIZED
,
1457 SW_MAXIMIZE
, SW_SHOWNOACTIVATE
, SW_SHOW
, SW_MINIMIZE
,
1458 SW_SHOWMINNOACTIVE
, SW_SHOWNA
, SW_RESTORE
};
1460 /* WM_SIZE message wParam values */
1461 #define SIZE_RESTORED 0
1462 #define SIZE_MINIMIZED 1
1463 #define SIZE_MAXIMIZED 2
1464 #define SIZE_MAXSHOW 3
1465 #define SIZE_MAXHIDE 4
1467 /* SetWindowPos() and WINDOWPOS flags */
1468 #define SWP_NOSIZE 0x0001
1469 #define SWP_NOMOVE 0x0002
1470 #define SWP_NOZORDER 0x0004
1471 #define SWP_NOREDRAW 0x0008
1472 #define SWP_NOACTIVATE 0x0010
1473 #define SWP_FRAMECHANGED 0x0020 /* The frame changed: send WM_NCCALCSIZE */
1474 #define SWP_SHOWWINDOW 0x0040
1475 #define SWP_HIDEWINDOW 0x0080
1476 #define SWP_NOCOPYBITS 0x0100
1477 #define SWP_NOOWNERZORDER 0x0200 /* Don't do owner Z ordering */
1479 #define SWP_DRAWFRAME SWP_FRAMECHANGED
1480 #define SWP_NOREPOSITION SWP_NOOWNERZORDER
1482 #define SWP_NOSENDCHANGING 0x0400
1483 #define SWP_DEFERERASE 0x2000
1485 /* SetWindowPos() hwndInsertAfter field values */
1486 #define HWND_TOP ((HWND)0)
1487 #define HWND_BOTTOM ((HWND)1)
1488 #define HWND_TOPMOST ((HWND)-1)
1489 #define HWND_NOTOPMOST ((HWND)-2)
1491 /* Flags for TrackPopupMenu */
1492 #define TPM_LEFTBUTTON 0x0000
1493 #define TPM_RIGHTBUTTON 0x0002
1494 #define TPM_LEFTALIGN 0x0000
1495 #define TPM_CENTERALIGN 0x0004
1496 #define TPM_RIGHTALIGN 0x0008
1499 #define WM_INITMENU 0x0116
1500 #define WM_INITMENUPOPUP 0x0117
1502 #define WM_MENUSELECT 0x011F
1503 #define WM_MENUCHAR 0x0120
1506 #define MF_CHANGE 0x0080
1507 #define MF_APPEND 0x0100
1508 #define MF_DELETE 0x0200
1509 #define MF_REMOVE 0x1000
1510 #define MF_BYCOMMAND 0
1511 #define MF_BYPOSITION 0x0400
1512 #define MF_SEPARATOR 0x0800
1513 #define MF_ENABLED 0
1514 #define MF_GRAYED 0x0001
1515 #define MF_DISABLED 0x0002
1516 #define MF_UNCHECKED 0
1517 #define MF_CHECKED 0x0008
1518 #define MF_USECHECKBITMAPS 0x0200
1520 #define MF_BITMAP 0x0004
1521 #define MF_OWNERDRAW 0x0100
1522 #define MF_POPUP 0x0010
1523 #define MF_MENUBARBREAK 0x0020
1524 #define MF_MENUBREAK 0x0040
1525 #define MF_UNHILITE 0
1526 #define MF_HILITE 0x0080
1527 #define MF_SYSMENU 0x2000
1528 #define MF_HELP 0x4000
1529 #define MF_MOUSESELECT 0x8000
1530 #define MF_END 0x0080
1532 #ifndef NOWINOFFSETS
1533 #define GCW_HBRBACKGROUND (-10)
1536 #define MB_OK 0x0000
1537 #define MB_OKCANCEL 0x0001
1538 #define MB_ABORTRETRYIGNORE 0x0002
1539 #define MB_YESNOCANCEL 0x0003
1540 #define MB_YESNO 0x0004
1541 #define MB_RETRYCANCEL 0x0005
1542 #define MB_TYPEMASK 0x000F
1544 #define MB_ICONHAND 0x0010
1545 #define MB_ICONQUESTION 0x0020
1546 #define MB_ICONEXCLAMATION 0x0030
1547 #define MB_ICONASTERISK 0x0040
1548 #define MB_ICONMASK 0x00F0
1550 #define MB_ICONINFORMATION MB_ICONASTERISK
1551 #define MB_ICONSTOP MB_ICONHAND
1553 #define MB_DEFBUTTON1 0x0000
1554 #define MB_DEFBUTTON2 0x0100
1555 #define MB_DEFBUTTON3 0x0200
1556 #define MB_DEFMASK 0x0F00
1558 #define MB_APPLMODAL 0x0000
1559 #define MB_SYSTEMMODAL 0x1000
1560 #define MB_TASKMODAL 0x2000
1562 #define MB_NOFOCUS 0x8000
1569 #define DT_VCENTER 4
1571 #define DT_WORDBREAK 16
1572 #define DT_SINGLELINE 32
1573 #define DT_EXPANDTABS 64
1574 #define DT_TABSTOP 128
1575 #define DT_NOCLIP 256
1576 #define DT_EXTERNALLEADING 512
1577 #define DT_CALCRECT 1024
1578 #define DT_NOPREFIX 2048
1579 #define DT_INTERNAL 4096
1582 #define WS_OVERLAPPED 0x00000000L
1583 #define WS_POPUP 0x80000000L
1584 #define WS_CHILD 0x40000000L
1585 #define WS_MINIMIZE 0x20000000L
1586 #define WS_VISIBLE 0x10000000L
1587 #define WS_DISABLED 0x08000000L
1588 #define WS_CLIPSIBLINGS 0x04000000L
1589 #define WS_CLIPCHILDREN 0x02000000L
1590 #define WS_MAXIMIZE 0x01000000L
1591 #define WS_CAPTION 0x00C00000L
1592 #define WS_BORDER 0x00800000L
1593 #define WS_DLGFRAME 0x00400000L
1594 #define WS_VSCROLL 0x00200000L
1595 #define WS_HSCROLL 0x00100000L
1596 #define WS_SYSMENU 0x00080000L
1597 #define WS_THICKFRAME 0x00040000L
1598 #define WS_GROUP 0x00020000L
1599 #define WS_TABSTOP 0x00010000L
1600 #define WS_MINIMIZEBOX 0x00020000L
1601 #define WS_MINIMIZEBOX 0x00020000L
1602 #define WS_MAXIMIZEBOX 0x00010000L
1603 #define WS_TILED WS_OVERLAPPED
1604 #define WS_ICONIC WS_MINIMIZE
1605 #define WS_SIZEBOX WS_THICKFRAME
1606 #define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME| WS_MINIMIZEBOX | WS_MAXIMIZEBOX)
1607 #define WS_POPUPWINDOW (WS_POPUP | WS_BORDER | WS_SYSMENU)
1608 #define WS_CHILDWINDOW (WS_CHILD)
1609 #define WS_TILEDWINDOW (WS_OVERLAPPEDWINDOW)
1611 /* Window extended styles */
1612 #define WS_EX_DLGMODALFRAME 0x00000001L
1613 #define WS_EX_NOPARENTNOTIFY 0x00000004L
1614 #define WS_EX_TOPMOST 0x00000008L
1615 #define WS_EX_ACCEPTFILES 0x00000010L
1616 #define WS_EX_TRANSPARENT 0x00000020L
1618 /* Window scrolling */
1619 #define SW_SCROLLCHILDREN 0x0001
1620 #define SW_INVALIDATE 0x0002
1621 #define SW_ERASE 0x0003
1623 /* Button control styles */
1624 #define BS_PUSHBUTTON 0x00000000L
1625 #define BS_DEFPUSHBUTTON 0x00000001L
1626 #define BS_CHECKBOX 0x00000002L
1627 #define BS_AUTOCHECKBOX 0x00000003L
1628 #define BS_RADIOBUTTON 0x00000004L
1629 #define BS_3STATE 0x00000005L
1630 #define BS_AUTO3STATE 0x00000006L
1631 #define BS_GROUPBOX 0x00000007L
1632 #define BS_USERBUTTON 0x00000008L
1633 #define BS_AUTORADIOBUTTON 0x00000009L
1634 #define BS_OWNERDRAW 0x0000000BL
1635 #define BS_LEFTTEXT 0x00000020L
1637 /* Button control messages */
1638 #define BM_GETCHECK (WM_USER+0)
1639 #define BM_SETCHECK (WM_USER+1)
1640 #define BM_GETSTATE (WM_USER+2)
1641 #define BM_SETSTATE (WM_USER+3)
1642 #define BM_SETSTYLE (WM_USER+4)
1644 /* Button notification codes */
1645 #define BN_CLICKED 0
1648 #define BN_UNHILITE 3
1649 #define BN_DISABLE 4
1650 #define BN_DOUBLECLICKED 5
1652 /* Static Control Styles */
1653 #define SS_LEFT 0x00000000L
1654 #define SS_CENTER 0x00000001L
1655 #define SS_RIGHT 0x00000002L
1656 #define SS_ICON 0x00000003L
1657 #define SS_BLACKRECT 0x00000004L
1658 #define SS_GRAYRECT 0x00000005L
1659 #define SS_WHITERECT 0x00000006L
1660 #define SS_BLACKFRAME 0x00000007L
1661 #define SS_GRAYFRAME 0x00000008L
1662 #define SS_WHITEFRAME 0x00000009L
1663 #define SS_SIMPLE 0x0000000BL
1664 #define SS_LEFTNOWORDWRAP 0x0000000CL
1665 #define SS_NOPREFIX 0x00000080L
1667 /* Static Control Mesages */
1668 #define STM_SETICON (WM_USER+0)
1669 #define STM_GETICON (WM_USER+1)
1671 /* WM_H/VSCROLL commands */
1673 #define SB_LINELEFT 0
1674 #define SB_LINEDOWN 1
1675 #define SB_LINERIGHT 1
1677 #define SB_PAGELEFT 2
1678 #define SB_PAGEDOWN 3
1679 #define SB_PAGERIGHT 3
1680 #define SB_THUMBPOSITION 4
1681 #define SB_THUMBTRACK 5
1686 #define SB_ENDSCROLL 8
1688 /* Scroll bar selection constants */
1694 /* Scrollbar styles */
1695 #define SBS_HORZ 0x0000L
1696 #define SBS_VERT 0x0001L
1697 #define SBS_TOPALIGN 0x0002L
1698 #define SBS_LEFTALIGN 0x0002L
1699 #define SBS_BOTTOMALIGN 0x0004L
1700 #define SBS_RIGHTALIGN 0x0004L
1701 #define SBS_SIZEBOXTOPLEFTALIGN 0x0002L
1702 #define SBS_SIZEBOXBOTTOMRIGHTALIGN 0x0004L
1703 #define SBS_SIZEBOX 0x0008L
1705 /* EnableScrollBar() flags */
1706 #define ESB_ENABLE_BOTH 0x0000
1707 #define ESB_DISABLE_BOTH 0x0003
1709 #define ESB_DISABLE_LEFT 0x0001
1710 #define ESB_DISABLE_RIGHT 0x0002
1712 #define ESB_DISABLE_UP 0x0001
1713 #define ESB_DISABLE_DOWN 0x0002
1715 #define ESB_DISABLE_LTUP ESB_DISABLE_LEFT
1716 #define ESB_DISABLE_RTDN ESB_DISABLE_RIGHT
1718 /* Listbox styles */
1719 #define LBS_NOTIFY 0x0001L
1720 #define LBS_SORT 0x0002L
1721 #define LBS_NOREDRAW 0x0004L
1722 #define LBS_MULTIPLESEL 0x0008L
1723 #define LBS_OWNERDRAWFIXED 0x0010L
1724 #define LBS_OWNERDRAWVARIABLE 0x0020L
1725 #define LBS_HASSTRINGS 0x0040L
1726 #define LBS_USETABSTOPS 0x0080L
1727 #define LBS_NOINTEGRALHEIGHT 0x0100L
1728 #define LBS_MULTICOLUMN 0x0200L
1729 #define LBS_WANTKEYBOARDINPUT 0x0400L
1730 #define LBS_EXTENDEDSEL 0x0800L
1731 #define LBS_DISABLENOSCROLL 0x1000L
1732 #define LBS_STANDARD (LBS_NOTIFY | LBS_SORT | WS_VSCROLL | WS_BORDER)
1734 /* Listbox messages */
1735 #define LB_ADDSTRING (WM_USER+1)
1736 #define LB_INSERTSTRING (WM_USER+2)
1737 #define LB_DELETESTRING (WM_USER+3)
1738 #define LB_RESETCONTENT (WM_USER+5)
1739 #define LB_SETSEL (WM_USER+6)
1740 #define LB_SETCURSEL (WM_USER+7)
1741 #define LB_GETSEL (WM_USER+8)
1742 #define LB_GETCURSEL (WM_USER+9)
1743 #define LB_GETTEXT (WM_USER+10)
1744 #define LB_GETTEXTLEN (WM_USER+11)
1745 #define LB_GETCOUNT (WM_USER+12)
1746 #define LB_SELECTSTRING (WM_USER+13)
1747 #define LB_DIR (WM_USER+14)
1748 #define LB_GETTOPINDEX (WM_USER+15)
1749 #define LB_FINDSTRING (WM_USER+16)
1750 #define LB_GETSELCOUNT (WM_USER+17)
1751 #define LB_GETSELITEMS (WM_USER+18)
1752 #define LB_SETTABSTOPS (WM_USER+19)
1753 #define LB_GETHORIZONTALEXTENT (WM_USER+20)
1754 #define LB_SETHORIZONTALEXTENT (WM_USER+21)
1755 #define LB_SETCOLUMNWIDTH (WM_USER+22)
1756 #define LB_SETTOPINDEX (WM_USER+24)
1757 #define LB_GETITEMRECT (WM_USER+25)
1758 #define LB_GETITEMDATA (WM_USER+26)
1759 #define LB_SETITEMDATA (WM_USER+27)
1760 #define LB_SELITEMRANGE (WM_USER+28)
1761 #define LB_SETCARETINDEX (WM_USER+31)
1762 #define LB_GETCARETINDEX (WM_USER+32)
1763 #define LB_SETITEMHEIGHT (WM_USER+33)
1764 #define LB_GETITEMHEIGHT (WM_USER+34)
1765 #define LB_FINDSTRINGEXACT (WM_USER+35)
1767 /* Listbox notification codes */
1768 #define LBN_ERRSPACE (-2)
1769 #define LBN_SELCHANGE 1
1770 #define LBN_DBLCLK 2
1771 #define LBN_SELCANCEL 3
1772 #define LBN_SETFOCUS 4
1773 #define LBN_KILLFOCUS 5
1775 /* Listbox notification messages */
1776 #define WM_VKEYTOITEM 0x002E
1777 #define WM_CHARTOITEM 0x002F
1779 /* Listbox message return values */
1782 #define LB_ERRSPACE (-2)
1784 #define LB_CTLCODE 0L
1786 /* Combo box styles */
1787 #define CBS_SIMPLE 0x0001L
1788 #define CBS_DROPDOWN 0x0002L
1789 #define CBS_DROPDOWNLIST 0x0003L
1790 #define CBS_OWNERDRAWFIXED 0x0010L
1791 #define CBS_OWNERDRAWVARIABLE 0x0020L
1792 #define CBS_AUTOHSCROLL 0x0040L
1793 #define CBS_OEMCONVERT 0x0080L
1794 #define CBS_SORT 0x0100L
1795 #define CBS_HASSTRINGS 0x0200L
1796 #define CBS_NOINTEGRALHEIGHT 0x0400L
1797 #define CBS_DISABLENOSCROLL 0x0800L
1799 /* Combo box messages */
1800 #define CB_GETEDITSEL (WM_USER+0)
1801 #define CB_LIMITTEXT (WM_USER+1)
1802 #define CB_SETEDITSEL (WM_USER+2)
1803 #define CB_ADDSTRING (WM_USER+3)
1804 #define CB_DELETESTRING (WM_USER+4)
1805 #define CB_DIR (WM_USER+5)
1806 #define CB_GETCOUNT (WM_USER+6)
1807 #define CB_GETCURSEL (WM_USER+7)
1808 #define CB_GETLBTEXT (WM_USER+8)
1809 #define CB_GETLBTEXTLEN (WM_USER+9)
1810 #define CB_INSERTSTRING (WM_USER+10)
1811 #define CB_RESETCONTENT (WM_USER+11)
1812 #define CB_FINDSTRING (WM_USER+12)
1813 #define CB_SELECTSTRING (WM_USER+13)
1814 #define CB_SETCURSEL (WM_USER+14)
1815 #define CB_SHOWDROPDOWN (WM_USER+15)
1816 #define CB_GETITEMDATA (WM_USER+16)
1817 #define CB_SETITEMDATA (WM_USER+17)
1818 #define CB_GETDROPPEDCONTROLRECT (WM_USER+18)
1819 #define CB_SETITEMHEIGHT (WM_USER+19)
1820 #define CB_GETITEMHEIGHT (WM_USER+20)
1821 #define CB_SETEXTENDEDUI (WM_USER+21)
1822 #define CB_GETEXTENDEDUI (WM_USER+22)
1823 #define CB_GETDROPPEDSTATE (WM_USER+23)
1824 #define CB_FINDSTRINGEXACT (WM_USER+24)
1826 /* Combo box notification codes */
1827 #define CBN_ERRSPACE (-1)
1828 #define CBN_SELCHANGE 1
1829 #define CBN_DBLCLK 2
1830 #define CBN_SETFOCUS 3
1831 #define CBN_KILLFOCUS 4
1832 #define CBN_EDITCHANGE 5
1833 #define CBN_EDITUPDATE 6
1834 #define CBN_DROPDOWN 7
1835 #define CBN_CLOSEUP 8
1836 #define CBN_SELENDOK 9
1837 #define CBN_SELENDCANCEL 10
1839 /* Combo box message return values */
1842 #define CB_ERRSPACE (-2)
1845 /* Owner draw control types */
1847 #define ODT_LISTBOX 2
1848 #define ODT_COMBOBOX 3
1849 #define ODT_BUTTON 4
1851 /* Owner draw actions */
1852 #define ODA_DRAWENTIRE 0x0001
1853 #define ODA_SELECT 0x0002
1854 #define ODA_FOCUS 0x0004
1856 /* Owner draw state */
1857 #define ODS_SELECTED 0x0001
1858 #define ODS_GRAYED 0x0002
1859 #define ODS_DISABLED 0x0004
1860 #define ODS_CHECKED 0x0008
1861 #define ODS_FOCUS 0x0010
1863 /* Edit control styles */
1864 #define ES_LEFT 0x00000000L
1865 #define ES_CENTER 0x00000001L
1866 #define ES_RIGHT 0x00000002L
1867 #define ES_MULTILINE 0x00000004L
1868 #define ES_UPPERCASE 0x00000008L
1869 #define ES_LOWERCASE 0x00000010L
1870 #define ES_PASSWORD 0x00000020L
1871 #define ES_AUTOVSCROLL 0x00000040L
1872 #define ES_AUTOHSCROLL 0x00000080L
1873 #define ES_NOHISESEL 0x00000100L
1874 #define ES_OEMCONVERT 0x00000400L
1875 #define ES_READONLY 0x00000800L
1876 #define ES_WANTRETURN 0x00001000L
1878 /* Edit control messages */
1879 #define EM_GETSEL (WM_USER+0)
1880 #define EM_SETSEL (WM_USER+1)
1881 #define EM_GETRECT (WM_USER+2)
1882 #define EM_SETRECT (WM_USER+3)
1883 #define EM_SETRECTNP (WM_USER+4)
1884 #define EM_LINESCROLL (WM_USER+6)
1885 #define EM_GETMODIFY (WM_USER+8)
1886 #define EM_SETMODIFY (WM_USER+9)
1887 #define EM_GETLINECOUNT (WM_USER+10)
1888 #define EM_LINEINDEX (WM_USER+11)
1889 #define EM_SETHANDLE (WM_USER+12)
1890 #define EM_GETHANDLE (WM_USER+13)
1891 #define EM_LINELENGTH (WM_USER+17)
1892 #define EM_REPLACESEL (WM_USER+18)
1893 #define EM_GETLINE (WM_USER+20)
1894 #define EM_LIMITTEXT (WM_USER+21)
1895 #define EM_CANUNDO (WM_USER+22)
1896 #define EM_UNDO (WM_USER+23)
1897 #define EM_FMTLINES (WM_USER+24)
1898 #define EM_LINEFROMCHAR (WM_USER+25)
1899 #define EM_SETTABSTOPS (WM_USER+27)
1900 #define EM_SETPASSWORDCHAR (WM_USER+28)
1901 #define EM_EMPTYUNDOBUFFER (WM_USER+29)
1902 #define EM_GETFIRSTVISIBLELINE (WM_USER+30)
1903 #define EM_SETREADONLY (WM_USER+31)
1904 #define EM_SETWORDBREAKPROC (WM_USER+32)
1905 #define EM_GETWORDBREAKPROC (WM_USER+33)
1906 #define EM_GETPASSWORDCHAR (WM_USER+34)
1908 typedef int (CALLBACK
*EDITWORDBREAKPROC
)(LPSTR lpch
, int ichCurrent
,
1911 /* EDITWORDBREAKPROC code values */
1914 #define WB_ISDELIMITER 2
1916 /* Edit control notification codes */
1917 #define EN_SETFOCUS 0x0100
1918 #define EN_KILLFOCUS 0x0200
1919 #define EN_CHANGE 0x0300
1920 #define EN_UPDATE 0x0400
1921 #define EN_ERRSPACE 0x0500
1922 #define EN_MAXTEXT 0x0501
1923 #define EN_HSCROLL 0x0601
1924 #define EN_VSCROLL 0x0602
1927 #define WM_DRAWITEM 0x002B
1929 typedef struct tagDRAWITEMSTRUCT
1941 typedef DRAWITEMSTRUCT NEAR
* PDRAWITEMSTRUCT
;
1942 typedef DRAWITEMSTRUCT FAR
* LPDRAWITEMSTRUCT
;
1944 #define WM_MEASUREITEM 0x002C
1946 typedef struct tagMEASUREITEMSTRUCT
1954 } MEASUREITEMSTRUCT
;
1955 typedef MEASUREITEMSTRUCT NEAR
* PMEASUREITEMSTRUCT
;
1956 typedef MEASUREITEMSTRUCT FAR
* LPMEASUREITEMSTRUCT
;
1958 #define WM_DELETEITEM 0x002D
1960 typedef struct tagDELETEITEMSTRUCT
1968 typedef DELETEITEMSTRUCT NEAR
* PDELETEITEMSTRUCT
;
1969 typedef DELETEITEMSTRUCT FAR
* LPDELETEITEMSTRUCT
;
1971 #define WM_COMPAREITEM 0x0039
1973 typedef struct tagCOMPAREITEMSTRUCT
1982 } COMPAREITEMSTRUCT
;
1983 typedef COMPAREITEMSTRUCT NEAR
* PCOMPAREITEMSTRUCT
;
1984 typedef COMPAREITEMSTRUCT FAR
* LPCOMPAREITEMSTRUCT
;
1986 /* Virtual key codes */
1987 #define VK_LBUTTON 0x01
1988 #define VK_RBUTTON 0x02
1989 #define VK_CANCEL 0x03
1990 #define VK_MBUTTON 0x04
1991 #define VK_BACK 0x08
1993 #define VK_CLEAR 0x0C
1994 #define VK_RETURN 0x0D
1995 #define VK_SHIFT 0x10
1996 #define VK_CONTROL 0x11
1997 #define VK_MENU 0x12
1998 #define VK_PAUSE 0x13
1999 #define VK_CAPITAL 0x14
2000 #define VK_ESCAPE 0x1B
2001 #define VK_SPACE 0x20
2002 #define VK_PRIOR 0x21
2003 #define VK_NEXT 0x22
2005 #define VK_HOME 0x24
2006 #define VK_LEFT 0x25
2008 #define VK_RIGHT 0x27
2009 #define VK_DOWN 0x28
2010 #define VK_SELECT 0x29
2011 #define VK_PRINT 0x2A
2012 #define VK_EXECUTE 0x2B
2013 #define VK_SNAPSHOT 0x2C
2014 #define VK_INSERT 0x2D
2015 #define VK_DELETE 0x2E
2016 #define VK_HELP 0x2F
2017 #define VK_NUMPAD0 0x60
2018 #define VK_NUMPAD1 0x61
2019 #define VK_NUMPAD2 0x62
2020 #define VK_NUMPAD3 0x63
2021 #define VK_NUMPAD4 0x64
2022 #define VK_NUMPAD5 0x65
2023 #define VK_NUMPAD6 0x66
2024 #define VK_NUMPAD7 0x67
2025 #define VK_NUMPAD8 0x68
2026 #define VK_NUMPAD9 0x69
2027 #define VK_MULTIPLY 0x6A
2029 #define VK_SEPARATOR 0x6C
2030 #define VK_SUBTRACT 0x6D
2031 #define VK_DECIMAL 0x6E
2032 #define VK_DIVIDE 0x6F
2057 #define VK_NUMLOCK 0x90
2058 #define VK_SCROLL 0x91
2061 #define LMEM_FIXED 0
2062 #define LMEM_MOVEABLE 0x0002
2063 #define LMEM_ZEROINIT 0x0040
2064 #define LMEM_DISCARDABLE 0x0F00
2065 #define LMEM_WINE_ALIGN 0x1000
2067 #define GMEM_FIXED 0x0000
2068 #define GMEM_MOVEABLE 0x0002
2069 #define GMEM_NOCOMPACT 0x0010
2070 #define GMEM_NODISCARD 0x0020
2071 #define GMEM_ZEROINIT 0x0040
2072 #define GMEM_MODIFY 0x0080
2073 #define GMEM_DISCARDABLE 0x0100
2074 #define GMEM_NOT_BANKED 0x1000
2075 #define GMEM_SHARE 0x2000
2076 #define GMEM_DDESHARE 0x2000
2077 #define GMEM_NOTIFY 0x4000
2078 #define GMEM_LOWER GMEM_NOT_BANKED
2080 #define GHND (GMEM_MOVEABLE | GMEM_ZEROINIT)
2081 #define GPTR (GMEM_FIXED | GMEM_ZEROINIT)
2084 /* Predefined Clipboard Formats */
2087 #define CF_METAFILEPICT 3
2091 #define CF_OEMTEXT 7
2093 #define CF_PALETTE 9
2094 #define CF_PENDATA 10
2098 #define CF_OWNERDISPLAY 0x0080
2099 #define CF_DSPTEXT 0x0081
2100 #define CF_DSPBITMAP 0x0082
2101 #define CF_DSPMETAFILEPICT 0x0083
2103 /* "Private" formats don't get GlobalFree()'d */
2104 #define CF_PRIVATEFIRST 0x0200
2105 #define CF_PRIVATELAST 0x02FF
2107 /* "GDIOBJ" formats do get DeleteObject()'d */
2108 #define CF_GDIOBJFIRST 0x0300
2109 #define CF_GDIOBJLAST 0x03FF
2111 /* Clipboard command messages */
2112 #define WM_CUT 0x0300
2113 #define WM_COPY 0x0301
2114 #define WM_PASTE 0x0302
2115 #define WM_CLEAR 0x0303
2116 #define WM_UNDO 0x0304
2118 /* Clipboard owner messages */
2119 #define WM_RENDERFORMAT 0x0305
2120 #define WM_RENDERALLFORMATS 0x0306
2121 #define WM_DESTROYCLIPBOARD 0x0307
2123 /* Clipboard viewer messages */
2124 #define WM_DRAWCLIPBOARD 0x0308
2125 #define WM_PAINTCLIPBOARD 0x0309
2126 #define WM_SIZECLIPBOARD 0x030B
2127 #define WM_VSCROLLCLIPBOARD 0x030A
2128 #define WM_HSCROLLCLIPBOARD 0x030E
2129 #define WM_ASKCBFORMATNAME 0x030C
2130 #define WM_CHANGECBCHAIN 0x030D
2133 #define F(ret,name) ret name(void);
2134 #define Fa(ret,name,t1,a1) ret name(t1 a1);
2135 #define Fb(ret,name,t1,a1,t2,a2) ret name(t1 a1,t2 a2);
2136 #define Fc(ret,name,t1,a1,t2,a2,t3,a3) ret name(t1 a1,t2 a2,t3 a3);
2137 #define Fd(ret,name,t1,a1,t2,a2,t3,a3,t4,a4) ret name(t1 a1,t2 a2,t3 a3,t4 a4);
2138 #define Fe(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5) ret name( t1 a1,t2 a2,t3 a3,t4 a4,t5 a5);
2139 #define Ff(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6);
2140 #define Fg(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7) ret name( t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7);
2141 #define Fh(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8);
2142 #define Fi(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9);
2143 #define Fj(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10);
2144 #define Fk(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11) ret name (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11);
2145 #define Fl(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12);
2146 #define Fm(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12,t13,a13) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12,t13 a13);
2147 #define Fn(ret,name,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12,t13,a13,t14,a14) ret name(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12,t13 a13,t14 a14);
2149 int wsprintf(LPSTR a
,LPSTR b
,...);
2152 /* Implemented functions */
2155 F(BOOL
,GetInputState
)
2156 F(BOOL
,SetDeskPattern
)
2157 F(LPSTR
,GetDOSEnvironment
)
2158 F(DWORD
,GetMessagePos
)
2159 F(LONG
,GetMessageTime
)
2160 F(LONG
,GetMessageExtraInfo
)
2162 F(BOOL
,CloseClipboard
)
2163 F(BOOL
,EmptyClipboard
)
2164 F(BOOL
,InSendMessage
)
2165 F(DWORD
,GetCurrentTime
)
2166 F(DWORD
,GetDialogBaseUnits
)
2167 F(DWORD
,GetTickCount
)
2168 F(HANDLE
,GetCurrentTask
)
2169 F(HMENU
,CreatePopupMenu
)
2170 F(HWND
,GetActiveWindow
)
2172 F(HWND
,GetClipboardOwner
)
2173 F(HWND
,GetOpenClipboardWindow
)
2174 F(HWND
,GetClipboardViewer
)
2175 F(HWND
,GetDesktopHwnd
)
2176 F(HWND
,GetDesktopWindow
)
2178 F(HWND
,GetSysModalWindow
)
2179 F(DWORD
,GetMenuCheckMarkDimensions
)
2181 F(LPINT
,GetThresholdEvent
)
2182 F(LPSTR
,ValidateFreeSpaces
)
2183 F(void,ValidateCodeSegments
)
2184 F(WORD
,GetCaretBlinkTime
)
2185 F(WORD
,GetCurrentPDB
)
2186 F(WORD
,GetDoubleClickTime
)
2189 F(int,CountClipboardFormats
)
2190 F(int,GetKBCodePage
)
2191 F(int,GetThresholdStatus
)
2196 F(int,SyncAllVoices
)
2199 F(void,DestroyCaret
)
2205 F(void,ReleaseCapture
)
2206 F(void,SwitchStackBack
)
2209 Fa(BOOL
,IsCharAlpha
,char,ch
)
2210 Fa(BOOL
,IsCharAlphaNumeric
,char,ch
)
2211 Fa(BOOL
,IsCharLower
,char,ch
)
2212 Fa(BOOL
,IsCharUpper
,char,ch
)
2213 Fa(ATOM
,RegisterClass
,LPWNDCLASS
,a
)
2214 Fa(BOOL
,TranslateMessage
,LPMSG
,a
)
2215 Fa(void,PostQuitMessage
,int,a
)
2216 Fa(BOOL
,SetMessageQueue
,int,a
)
2217 Fa(int,_lclose
,int,a
)
2218 Fb(int,_lopen
,LPSTR
,a
,int,b
)
2219 Fa(int,lstrlen
,LPCSTR
,a
)
2220 Fa(LONG
,DispatchMessage
,LPMSG
,msg
)
2221 Fa(void,UpdateWindow
,HWND
,a
)
2222 Fa(ATOM
,AddAtom
,LPCSTR
,a
)
2223 Fa(ATOM
,DeleteAtom
,ATOM
,a
)
2224 Fa(ATOM
,FindAtom
,LPCSTR
,a
)
2225 Fa(ATOM
,GlobalAddAtom
,LPCSTR
,a
)
2226 Fa(ATOM
,GlobalDeleteAtom
,ATOM
,a
)
2227 Fa(ATOM
,GlobalFindAtom
,LPCSTR
,a
)
2228 Fa(BOOL
,BringWindowToTop
,HWND
,a
)
2229 Fa(BOOL
,DeleteDC
,HDC
,a
)
2230 Fa(BOOL
,DeleteMetaFile
,HANDLE
,a
)
2231 Fa(BOOL
,DeleteObject
,HANDLE
,a
)
2232 Fa(BOOL
,DestroyCursor
,HCURSOR
,a
)
2233 Fa(BOOL
,DestroyIcon
,HICON
,a
)
2234 Fa(BOOL
,DestroyMenu
,HMENU
,a
)
2235 Fa(BOOL
,DestroyWindow
,HWND
,a
)
2236 Fa(BOOL
,EnableHardwareInput
,BOOL
,a
)
2237 Fa(BOOL
,FreeModule
,HANDLE
,a
)
2238 Fa(BOOL
,FreeResource
,HANDLE
,a
)
2239 #ifndef GLOBAL_SOURCE
2240 Fa(BOOL
,GlobalUnWire
,HANDLE
,a
)
2241 Fa(BOOL
,GlobalUnfix
,HANDLE
,a
)
2242 Fa(BOOL
,GlobalUnlock
,HANDLE
,a
)
2244 Fa(BOOL
,InitAtomTable
,WORD
,a
)
2245 Fa(BOOL
,IsClipboardFormatAvailable
,WORD
,a
)
2246 Fa(BOOL
,IsIconic
,HWND
,a
)
2247 Fa(BOOL
,IsRectEmpty
,LPRECT
,a
)
2248 Fa(BOOL
,IsTwoByteCharPrefix
,char,a
)
2249 Fa(BOOL
,IsWindow
,HWND
,a
)
2250 Fa(BOOL
,IsWindowEnabled
,HWND
,a
)
2251 Fa(BOOL
,IsWindowVisible
,HWND
,a
)
2252 Fa(BOOL
,IsZoomed
,HWND
,a
)
2253 Fa(BOOL
,LocalUnlock
,HANDLE
,a
)
2254 Fa(BOOL
,OpenClipboard
,HWND
,a
)
2255 Fa(BOOL
,OpenIcon
,HWND
,a
)
2256 Fa(BOOL
,RemoveFontResource
,LPSTR
,a
)
2257 Fa(BOOL
,SetDeskWallPaper
,LPSTR
,a
)
2258 Fa(BOOL
,SetErrorMode
,WORD
,a
)
2259 Fa(BOOL
,SwapMouseButton
,BOOL
,a
)
2260 Fa(BOOL
,UnrealizeObject
,HBRUSH
,a
)
2261 Fa(BYTE
,GetTempDrive
,BYTE
,a
)
2262 Fa(DWORD
,GetAspectRatioFilter
,HDC
,a
)
2263 Fa(DWORD
,GetBitmapDimension
,HBITMAP
,a
)
2264 Fa(COLORREF
,GetBkColor
,HDC
,a
)
2265 Fa(DWORD
,GetBrushOrg
,HDC
,a
)
2266 Fa(DWORD
,GetCurrentPosition
,HDC
,a
)
2267 Fa(DWORD
,GetDCOrg
,HDC
,a
)
2268 Fa(DWORD
,GetFreeSpace
,WORD
,a
)
2269 Fa(COLORREF
,GetSysColor
,short,a
)
2270 Fa(COLORREF
,GetTextColor
,HDC
,a
)
2271 Fa(DWORD
,GetViewportExt
,HDC
,a
)
2272 Fa(DWORD
,GetViewportOrg
,HDC
,a
)
2273 Fa(DWORD
,GetWindowExt
,HDC
,a
)
2274 Fa(DWORD
,GetWindowOrg
,HDC
,a
)
2275 #ifndef GLOBAL_SOURCE
2276 Fa(DWORD
,GlobalCompact
,DWORD
,a
)
2277 Fa(DWORD
,GlobalHandle
,WORD
,a
)
2278 Fa(DWORD
,GlobalSize
,HANDLE
,a
)
2280 Fa(DWORD
,OemKeyScan
,WORD
,a
)
2281 Fa(FARPROC
,LocalNotify
,FARPROC
,a
)
2282 Fa(HANDLE
,BeginDeferWindowPos
,int,nNumWindows
)
2283 Fa(HANDLE
,CloseMetaFile
,HANDLE
,a
)
2284 Fa(HANDLE
,CreateMetaFile
,LPSTR
,a
)
2285 Fa(HANDLE
,GetAtomHandle
,ATOM
,a
)
2286 Fa(HANDLE
,GetClipboardData
,WORD
,a
)
2287 Fa(HANDLE
,GetCodeHandle
,FARPROC
,a
)
2288 Fa(HANDLE
,GetMetaFile
,LPSTR
,a
)
2289 Fa(HANDLE
,GetMetaFileBits
,HANDLE
,a
)
2290 Fa(HANDLE
,GetModuleHandle
,LPSTR
,a
)
2291 Fa(HANDLE
,GetStockObject
,int,a
)
2292 Fa(HANDLE
,GetWindowTask
,HWND
,a
)
2293 #ifndef GLOBAL_SOURCE
2294 Fa(HANDLE
,GlobalFree
,HANDLE
,a
)
2295 Fa(HANDLE
,GlobalLRUNewest
,HANDLE
,a
)
2296 Fa(HANDLE
,GlobalLRUOldest
,HANDLE
,a
)
2298 Fa(HANDLE
,LoadLibrary
,LPSTR
,a
)
2299 Fa(HANDLE
,LocalFree
,HANDLE
,a
)
2300 Fa(HANDLE
,LocalHandle
,WORD
,a
)
2301 Fa(HANDLE
,LockSegment
,WORD
,a
)
2302 Fa(HANDLE
,SetMetaFileBits
,HANDLE
,a
)
2303 Fa(HANDLE
,UnlockSegment
,WORD
,a
)
2304 Fa(HBITMAP
,CreateBitmapIndirect
,BITMAP FAR
*,a
)
2305 Fa(HBRUSH
,CreateBrushIndirect
,LOGBRUSH FAR
*,a
)
2306 Fa(HBRUSH
,CreatePatternBrush
,HBITMAP
,a
)
2307 Fa(HBRUSH
,CreateSolidBrush
,DWORD
,a
)
2308 Fa(HCURSOR
,SetCursor
,HCURSOR
,a
)
2309 Fa(HDC
,CreateCompatibleDC
,HDC
,a
)
2310 Fa(HDC
,GetDC
,HWND
,a
)
2311 Fa(HDC
,GetDCState
,HDC
,a
)
2312 Fa(HDC
,GetWindowDC
,HWND
,a
)
2313 Fa(HFONT
,CreateFontIndirect
,LOGFONT FAR
*,a
)
2314 Fa(HMENU
,GetMenu
,HWND
,a
)
2315 Fa(HMENU
,LoadMenuIndirect
,LPSTR
,a
)
2316 Fa(HPALETTE
,CreatePalette
,LPLOGPALETTE
,a
)
2317 Fa(HPEN
,CreatePenIndirect
,LOGPEN FAR
*,a
)
2318 Fa(HRGN
,CreateEllipticRgnIndirect
,LPRECT
,a
)
2319 Fa(HRGN
,CreateRectRgnIndirect
,LPRECT
,a
)
2320 Fa(HRGN
,GetClipRgn
,HDC
,a
)
2321 Fa(HRGN
,InquireVisRgn
,HDC
,a
)
2322 Fa(HRGN
,SaveVisRgn
,HDC
,a
)
2323 Fa(HWND
,GetLastActivePopup
,HWND
,a
)
2324 Fa(HWND
,GetParent
,HWND
,a
)
2325 Fa(HWND
,GetTopWindow
,HWND
,a
)
2326 Fa(HWND
,SetActiveWindow
,HWND
,a
)
2327 Fa(HWND
,SetCapture
,HWND
,a
)
2328 Fa(HWND
,SetClipboardViewer
,HWND
,a
)
2329 Fa(HWND
,SetFocus
,HWND
,a
)
2330 Fa(HWND
,SetSysModalWindow
,HWND
,a
)
2331 Fa(HWND
,WindowFromPoint
,POINT
,a
)
2332 Fa(LONG
,SetSwapAreaSize
,WORD
,a
)
2333 Fa(LPSTR
,AnsiLower
,LPSTR
,a
)
2334 Fa(LPSTR
,AnsiNext
,LPSTR
,a
)
2335 Fa(LPSTR
,AnsiUpper
,LPSTR
,a
)
2336 #ifndef GLOBAL_SOURCE
2337 Fa(LPSTR
,GlobalLock
,HANDLE
,a
)
2338 Fa(LPSTR
,GlobalWire
,HANDLE
,a
)
2340 Fa(LPSTR
,LockResource
,HANDLE
,a
)
2341 #ifndef GLOBAL_SOURCE
2342 Fa(void,GlobalFix
,HANDLE
,a
)
2343 Fa(void,GlobalNotify
,FARPROC
,a
)
2345 Fa(void,LimitEmsPages
,DWORD
,a
)
2346 Fa(void,SetConvertHook
,BOOL
,a
)
2347 Fa(UINT
,GDIRealizePalette
,HDC
,a
)
2348 Fa(UINT
,RealizePalette
,HDC
,a
)
2349 Fa(WORD
,AllocDStoCSAlias
,WORD
,a
)
2350 Fa(WORD
,AllocSelector
,WORD
,a
)
2351 Fa(WORD
,ArrangeIconicWindows
,HWND
,a
)
2352 Fa(WORD
,EnumClipboardFormats
,WORD
,a
)
2353 Fa(WORD
,FreeSelector
,WORD
,a
)
2354 Fa(WORD
,GetDriveType
,int,a
)
2355 Fa(WORD
,GetMenuItemCount
,HMENU
,a
)
2356 Fa(WORD
,GetTaskQueue
,HANDLE
,a
)
2357 Fa(WORD
,GetTextAlign
,HDC
,a
)
2358 #ifndef GLOBAL_SOURCE
2359 Fa(WORD
,GlobalFlags
,HANDLE
,a
)
2360 Fa(WORD
,GlobalPageLock
,HANDLE
,a
)
2361 Fa(WORD
,GlobalPageUnlock
,HANDLE
,a
)
2363 Fa(WORD
,LocalCompact
,WORD
,a
)
2364 Fa(WORD
,LocalFlags
,HANDLE
,a
)
2365 Fa(WORD
,LocalSize
,HANDLE
,a
)
2366 Fa(WORD
,RealizeDefaultPalette
,HDC
,a
)
2367 Fa(WORD
,RegisterClipboardFormat
,LPCSTR
,a
)
2368 Fa(WORD
,RegisterWindowMessage
,LPCSTR
,a
)
2369 Fa(WORD
,SetHandleCount
,WORD
,a
)
2370 Fa(WORD
,VkKeyScan
,WORD
,a
)
2371 Fa(char NEAR
*,LocalLock
,HANDLE
,a
)
2372 Fa(int,AddFontResource
,LPSTR
,a
)
2373 Fa(int,Catch
,LPCATCHBUF
,a
)
2374 Fa(int,ClearCommBreak
,int,a
)
2375 Fa(int,CloseComm
,int,a
)
2376 Fa(int,CountVoiceNotes
,int,a
)
2377 Fa(int,GetAsyncKeyState
,int,a
)
2378 Fa(WORD
,GetBkMode
,HDC
,a
)
2379 Fa(int,GetDlgCtrlID
,HWND
,a
)
2380 Fa(int,GetKeyState
,int,a
)
2381 Fa(int,GetKeyboardType
,int,a
)
2382 Fa(WORD
,GetMapMode
,HDC
,a
)
2383 Fa(int,GetModuleUsage
,HANDLE
,a
)
2384 Fa(WORD
,GetPolyFillMode
,HDC
,a
)
2385 Fa(WORD
,GetRelAbs
,HDC
,a
)
2386 Fa(WORD
,GetROP2
,HDC
,a
)
2387 Fa(WORD
,GetStretchBltMode
,HDC
,a
)
2388 Fa(int,GetSystemMetrics
,WORD
,a
)
2389 Fa(int,GetWindowTextLength
,HWND
,a
)
2390 Fa(int,RestoreVisRgn
,HDC
,a
)
2391 Fa(int,SaveDC
,HDC
,a
)
2392 Fa(int,SetCommBreak
,int,a
)
2393 Fa(int,SetCommState
,DCB
*,a
)
2394 Fa(int,ShowCursor
,BOOL
,a
)
2395 Fa(int,UpdateColors
,HDC
,a
)
2396 Fa(int,WaitSoundState
,int,a
)
2397 Fa(short,GetTextCharacterExtra
,HDC
,a
)
2398 Fa(void,ClipCursor
,LPRECT
,a
)
2399 Fa(void,CloseWindow
,HWND
,a
)
2400 Fa(void,DrawMenuBar
,HWND
,a
)
2401 Fa(void,EndDeferWindowPos
,HANDLE
,hWinPosInfo
)
2402 Fa(void,FatalExit
,int,a
)
2403 Fa(void,FreeLibrary
,HANDLE
,a
)
2404 Fa(void,FreeProcInstance
,FARPROC
,a
)
2405 Fa(void,GetCaretPos
,LPPOINT
,a
)
2406 Fa(void,GetCursorPos
,LPPOINT
,a
)
2407 Fa(void,GetKeyboardState
,BYTE FAR
*,a
)
2408 Fa(void,HideCaret
,HWND
,a
)
2409 Fa(void,MessageBeep
,WORD
,a
)
2410 Fa(void,OutputDebugString
,LPSTR
,a
)
2411 Fa(void,ReplyMessage
,LONG
,a
)
2412 Fa(void,SetCaretBlinkTime
,WORD
,a
)
2413 Fa(void,SetDoubleClickTime
,WORD
,a
)
2414 Fa(void,SetKeyboardState
,BYTE FAR
*,a
)
2415 Fa(void,SetRectEmpty
,LPRECT
,a
)
2416 Fa(void,ShowCaret
,HWND
,a
)
2417 Fa(void,SwapRecording
,WORD
,a
)
2418 Fb(BOOL
,ExitWindows
,DWORD
,dwReserved
,WORD
,wReturnCode
)
2419 Fb(BOOL
,GetBitmapDimensionEx
,HBITMAP
,a
,LPSIZE
,b
)
2420 Fb(BOOL
,GetWindowPlacement
,HWND
,a
,LPWINDOWPLACEMENT
,b
)
2421 Fb(BOOL
,SetWindowPlacement
,HWND
,a
,LPWINDOWPLACEMENT
,b
)
2422 Fb(BOOL
,ShowWindow
,HWND
,a
,int,b
)
2423 Fb(HDC
,BeginPaint
,HWND
,a
,LPPAINTSTRUCT
,b
)
2424 Fb(LPSTR
,lstrcat
,LPSTR
,a
,LPCSTR
,b
)
2425 Fb(LPSTR
,lstrcpy
,LPSTR
,a
,LPCSTR
,b
)
2426 Fb(int,_lcreat
,LPSTR
,a
,int,b
)
2427 Fb(int,lstrcmp
,LPCSTR
,a
,LPCSTR
,b
)
2428 Fb(int,lstrcmpi
,LPCSTR
,a
,LPCSTR
,b
)
2429 Fb(void,EndPaint
,HWND
,a
,LPPAINTSTRUCT
,b
)
2430 Fb(void,GetClientRect
,HWND
,a
,LPRECT
,b
)
2431 Fb(void,SetDCState
,HDC
,a
,HDC
,b
)
2432 Fb(BOOL
,UnregisterClass
,LPSTR
,a
,HANDLE
,b
)
2433 Fb(BOOL
,CallMsgFilter
,LPMSG
,a
,int,b
)
2434 Fb(BOOL
,ChangeClipboardChain
,HWND
,a
,HWND
,b
)
2435 Fb(BOOL
,EnableWindow
,HWND
,a
,BOOL
,b
)
2436 Fb(BOOL
,EnumWindows
,FARPROC
,a
,LONG
,b
)
2437 Fb(BOOL
,EqualRect
,LPRECT
,a
,LPRECT
,b
)
2438 Fb(BOOL
,EqualRgn
,HRGN
,a
,HRGN
,b
)
2439 Fb(BOOL
,FlashWindow
,HWND
,a
,BOOL
,b
)
2440 Fb(BOOL
,GetBrushOrgEx
,HDC
,a
,LPPOINT
,b
)
2441 Fb(BOOL
,GetTextMetrics
,HDC
,a
,LPTEXTMETRIC
,b
)
2442 Fb(BOOL
,InvertRgn
,HDC
,a
,HRGN
,b
)
2443 Fb(BOOL
,IsChild
,HWND
,a
,HWND
,b
)
2444 Fb(BOOL
,IsDialogMessage
,HWND
,a
,LPMSG
,b
)
2445 Fb(BOOL
,KillTimer
,HWND
,a
,WORD
,b
)
2446 Fb(BOOL
,OemToAnsi
,LPSTR
,a
,LPSTR
,b
)
2447 Fb(BOOL
,PaintRgn
,HDC
,a
,HRGN
,b
)
2448 Fb(BOOL
,PlayMetaFile
,HDC
,a
,HANDLE
,b
)
2449 Fb(BOOL
,PtInRect
,LPRECT
,a
,POINT
,b
)
2450 Fb(BOOL
,RectInRegion
,HRGN
,a
,LPRECT
,b
)
2451 Fb(BOOL
,RectVisible
,HDC
,a
,LPRECT
,b
)
2452 Fb(BOOL
,ResizePalette
,HPALETTE
,a
,WORD
,b
)
2453 Fb(BOOL
,RestoreDC
,HDC
,a
,short,b
)
2454 Fb(BOOL
,SetConvertParams
,int,a
,int,b
)
2455 Fb(BOOL
,SetMenu
,HWND
,a
,HMENU
,b
)
2456 Fb(BOOL
,TranslateMDISysAccel
,HWND
,a
,LPMSG
,b
)
2457 Fb(BOOL
,UnhookWindowsHook
,int,a
,FARPROC
,b
)
2458 Fb(DWORD
,GetNearestColor
,HDC
,a
,DWORD
,b
)
2459 Fb(DWORD
,SetBkColor
,HDC
,a
,COLORREF
,b
)
2460 Fb(DWORD
,SetMapperFlags
,HDC
,a
,DWORD
,b
)
2461 Fb(DWORD
,SetTextColor
,HDC
,a
,DWORD
,b
)
2462 Fb(FARPROC
,GetProcAddress
,HANDLE
,a
,LPSTR
,b
)
2463 Fb(FARPROC
,MakeProcInstance
,FARPROC
,a
,HANDLE
,b
)
2464 Fb(FARPROC
,SetWindowsHook
,int,a
,FARPROC
,b
)
2465 Fb(HANDLE
,CopyMetaFile
,HANDLE
,a
,LPSTR
,b
)
2466 Fb(HANDLE
,GetProp
,HWND
,a
,LPSTR
,b
)
2467 #ifndef GLOBAL_SOURCE
2468 Fb(HANDLE
,GlobalAlloc
,WORD
,a
,DWORD
,b
)
2470 Fb(HANDLE
,LoadAccelerators
,HANDLE
,a
,LPSTR
,b
)
2471 Fb(HANDLE
,LoadModule
,LPSTR
,a
,LPVOID
,b
)
2472 Fb(HANDLE
,LoadResource
,HANDLE
,a
,HANDLE
,b
)
2473 Fb(HANDLE
,LocalAlloc
,WORD
,a
,WORD
,b
)
2474 Fb(HANDLE
,RemoveProp
,HWND
,a
,LPSTR
,b
)
2475 Fb(HANDLE
,SelectObject
,HDC
,a
,HANDLE
,b
)
2476 Fb(HANDLE
,SetClipboardData
,WORD
,a
,HANDLE
,b
)
2477 Fb(HBITMAP
,LoadBitmap
,HANDLE
,a
,LPSTR
,b
)
2478 Fb(HBRUSH
,CreateDIBPatternBrush
,HANDLE
,a
,WORD
,b
)
2479 Fb(HBRUSH
,CreateHatchBrush
,short,a
,COLORREF
,b
)
2480 Fb(HCURSOR
,LoadCursor
,HANDLE
,a
,LPSTR
,b
)
2481 Fb(HICON
,LoadIcon
,HANDLE
,a
,LPSTR
,b
)
2482 Fb(HPALETTE
,GDISelectPalette
,HDC
,a
,HPALETTE
,b
)
2483 Fb(HMENU
,GetSubMenu
,HMENU
,a
,short,b
)
2484 Fb(HMENU
,GetSystemMenu
,HWND
,a
,BOOL
,b
)
2485 Fb(HMENU
,LoadMenu
,HANDLE
,a
,LPSTR
,b
)
2486 Fb(HWND
,ChildWindowFromPoint
,HWND
,a
,POINT
,b
)
2487 Fb(HWND
,FindWindow
,LPSTR
,a
,LPSTR
,b
)
2488 Fb(HWND
,GetDlgItem
,HWND
,a
,WORD
,b
)
2489 Fb(HWND
,GetNextWindow
,HWND
,a
,WORD
,b
)
2490 Fb(HWND
,GetWindow
,HWND
,a
,WORD
,b
)
2491 Fb(BOOL
,GetCurrentPositionEx
,HDC
,a
,LPPOINT
,b
)
2492 Fb(BOOL
,GetViewportExtEx
,HDC
,a
,LPPOINT
,b
)
2493 Fb(BOOL
,GetViewportOrgEx
,HDC
,a
,LPPOINT
,b
)
2494 Fb(BOOL
,GetWindowExtEx
,HDC
,a
,LPPOINT
,b
)
2495 Fb(BOOL
,GetWindowOrgEx
,HDC
,a
,LPPOINT
,b
)
2496 Fb(HWND
,SetParent
,HWND
,a
,HWND
,b
)
2497 Fb(LONG
,GetClassLong
,HWND
,a
,short,b
)
2498 Fb(LONG
,GetWindowLong
,HWND
,a
,short,b
)
2499 Fb(LPSTR
,AnsiPrev
,LPSTR
,a
,LPSTR
,b
)
2500 Fb(WORD FAR
*,SetCommEventMask
,int,a
,WORD
,b
)
2501 Fb(WORD
,AnsiLowerBuff
,LPSTR
,a
,WORD
,b
)
2502 Fb(WORD
,AnsiUpperBuff
,LPSTR
,a
,WORD
,b
)
2503 Fb(WORD
,ChangeSelector
,WORD
,a
,WORD
,b
)
2504 Fb(WORD
,GetClassWord
,HWND
,a
,short,b
)
2505 Fb(WORD
,GetCommEventMask
,int,a
,int,b
)
2506 Fb(WORD
,GetMenuItemID
,HMENU
,a
,int,b
)
2507 Fb(WORD
,GetNearestPaletteIndex
,HPALETTE
,a
,DWORD
,b
)
2508 Fb(WORD
,GetSystemDirectory
,LPSTR
,a
,WORD
,b
)
2509 Fb(WORD
,GetSystemPaletteUse
,HDC
,a
,WORD
,b
)
2510 Fb(WORD
,GetWindowWord
,HWND
,a
,short,b
)
2511 Fb(WORD
,GetWindowsDirectory
,LPSTR
,a
,WORD
,b
)
2512 Fb(WORD
,IsDlgButtonChecked
,HWND
,a
,WORD
,b
)
2513 Fb(WORD
,LocalShrink
,HANDLE
,a
,WORD
,b
)
2514 Fb(WORD
,MapVirtualKey
,WORD
,a
,WORD
,b
)
2515 Fb(WORD
,SetSystemPaletteUse
,HDC
,a
,WORD
,b
)
2516 Fb(WORD
,SetBkMode
,HDC
,a
,WORD
,b
)
2517 Fb(WORD
,SetMapMode
,HDC
,a
,WORD
,b
)
2518 Fb(WORD
,SetPolyFillMode
,HDC
,a
,WORD
,b
)
2519 Fb(WORD
,SetRelAbs
,HDC
,a
,WORD
,b
)
2520 Fb(WORD
,SetROP2
,HDC
,a
,WORD
,b
)
2521 Fb(WORD
,SetStretchBltMode
,HDC
,a
,WORD
,b
)
2522 Fb(WORD
,SetTaskQueue
,HANDLE
,a
,HANDLE
,b
)
2523 Fb(WORD
,SetTextAlign
,HDC
,a
,WORD
,b
)
2524 Fb(WORD
,SizeofResource
,HANDLE
,a
,HANDLE
,b
)
2525 Fb(WORD
,WinExec
,LPSTR
,a
,WORD
,b
)
2526 Fb(int,AccessResource
,HANDLE
,a
,HANDLE
,b
)
2527 Fb(int,AnsiToOem
,LPSTR
,a
,LPSTR
,b
)
2528 Fb(int,BuildCommDCB
,LPSTR
,a
,DCB
*,b
)
2529 Fb(int,ConvertRequest
,HWND
,a
,LPKANJISTRUCT
,b
)
2530 Fb(void,CopyRect
,LPRECT
,a
,LPRECT
,b
)
2531 Fb(int,EnumProps
,HWND
,a
,FARPROC
,b
)
2532 Fb(LONG
,EscapeCommFunction
,int,a
,int,b
)
2533 Fb(int,ExcludeUpdateRgn
,HDC
,a
,HWND
,b
)
2534 Fb(int,FlushComm
,int,a
,int,b
)
2535 Fb(int,GetClipBox
,HDC
,a
,LPRECT
,b
)
2536 Fb(int,GetCommError
,int,a
,COMSTAT
*,b
)
2537 Fb(int,GetCommState
,int,a
,DCB
*,b
)
2538 Fb(int,GetDeviceCaps
,HDC
,a
,WORD
,b
)
2539 Fb(int,GetPriorityClipboardFormat
,WORD FAR
*,a
,short,b
)
2540 Fb(int,GetRgnBox
,HRGN
,a
,LPRECT
,b
)
2541 Fb(int,GetScrollPos
,HWND
,a
,int,b
)
2542 Fb(int,ReleaseDC
,HWND
,a
,HDC
,b
)
2543 Fb(int,SelectClipRgn
,HDC
,a
,HRGN
,b
)
2544 Fb(int,SelectVisRgn
,HDC
,a
,HRGN
,b
)
2545 Fb(int,SetSoundNoise
,int,a
,int,b
)
2546 Fb(int,SetVoiceQueueSize
,int,a
,int,b
)
2547 Fb(int,SetVoiceThreshold
,int,a
,int,b
)
2548 Fb(int,TransmitCommChar
,int,a
,char,b
)
2549 Fb(int,UngetCommChar
,int,a
,char,b
)
2550 Fb(short,SetTextCharacterExtra
,HDC
,a
,short,b
)
2551 Fb(void,ClientToScreen
,HWND
,a
,LPPOINT
,b
)
2552 Fb(void,DrawFocusRect
,HDC
,a
,LPRECT
,b
)
2553 Fb(void,EndDialog
,HWND
,a
,short,b
)
2554 Fb(void,GetCodeInfo
,FARPROC
,lpProc
,LPVOID
,lpSegInfo
)
2555 Fb(void,GetWindowRect
,HWND
,a
,LPRECT
,b
)
2556 Fb(void,InvertRect
,HDC
,a
,LPRECT
,b
)
2557 Fb(void,MapDialogRect
,HWND
,a
,LPRECT
,b
)
2558 Fb(void,ProfSampRate
,int,a
,int,b
)
2559 Fb(void,ProfSetup
,int,a
,int,b
)
2560 Fb(void,ScreenToClient
,HWND
,a
,LPPOINT
,b
)
2561 Fb(void,SetCaretPos
,short,a
,short,b
)
2562 Fb(void,SetCursorPos
,short,a
,short,b
)
2563 Fb(void,SetWindowText
,HWND
,a
,LPSTR
,b
)
2564 Fb(void,ShowOwnedPopups
,HWND
,a
,BOOL
,b
)
2565 Fb(void,Throw
,LPCATCHBUF
,a
,int,b
)
2566 Fb(void,ValidateRect
,HWND
,a
,LPRECT
,b
)
2567 Fb(void,ValidateRgn
,HWND
,a
,HRGN
,b
)
2568 Fc(BOOL
,LineTo
,HDC
,a
,short,b
,short,c
)
2569 Fc(WORD
,GetInternalWindowPos
,HWND
,a
,LPRECT
,b
,LPPOINT
,c
)
2570 Fc(LONG
,_llseek
,int,a
,long,b
,int,c
)
2571 Fc(WORD
,_lread
,int,a
,LPSTR
,b
,int,c
)
2572 Fc(WORD
,_lwrite
,int,a
,LPSTR
,b
,int,c
)
2573 Fc(int,FillRect
,HDC
,a
,LPRECT
,b
,HBRUSH
,c
)
2574 Fc(DWORD
,MoveTo
,HDC
,a
,short,b
,short,c
)
2575 Fc(BOOL
,CheckMenuItem
,HMENU
,a
,WORD
,b
,WORD
,c
)
2576 Fc(BOOL
,DPtoLP
,HDC
,a
,LPPOINT
,b
,int,c
)
2577 Fc(BOOL
,DeleteMenu
,HMENU
,a
,WORD
,b
,WORD
,c
)
2578 Fc(BOOL
,DlgDirSelect
,HWND
,a
,LPSTR
,b
,int,c
)
2579 Fc(BOOL
,DlgDirSelectComboBox
,HWND
,a
,LPSTR
,b
,int,c
)
2580 Fc(BOOL
,EnableMenuItem
,HMENU
,a
,WORD
,b
,WORD
,c
)
2581 Fc(BOOL
,EnumChildWindows
,HWND
,a
,FARPROC
,b
,LONG
,c
)
2582 Fc(BOOL
,EnumTaskWindows
,HANDLE
,a
,FARPROC
,b
,LONG
,c
)
2583 Fc(BOOL
,FillRgn
,HDC
,a
,HRGN
,b
,HBRUSH
,c
)
2584 Fc(BOOL
,GetClassInfo
,HANDLE
,a
,LPSTR
,b
,LPWNDCLASS
,c
)
2585 Fc(BOOL
,GetUpdateRect
,HWND
,a
,LPRECT
,b
,BOOL
,c
)
2586 Fc(BOOL
,LPtoDP
,HDC
,a
,LPPOINT
,b
,int,c
)
2587 Fc(BOOL
,LocalInit
,WORD
,a
,WORD
,b
,WORD
,c
)
2588 Fc(BOOL
,Polygon
,HDC
,a
,LPPOINT
,b
,int,c
)
2589 Fc(BOOL
,Polyline
,HDC
,a
,LPPOINT
,b
,int,c
)
2590 Fc(BOOL
,PtInRegion
,HRGN
,a
,short,b
,short,c
)
2591 Fc(BOOL
,PtVisible
,HDC
,a
,short,b
,short,c
)
2592 Fc(BOOL
,RemoveMenu
,HMENU
,a
,WORD
,b
,WORD
,c
)
2593 Fc(BOOL
,SetProp
,HWND
,a
,LPSTR
,b
,HANDLE
,c
)
2594 Fc(BOOL
,WriteProfileString
,LPSTR
,a
,LPSTR
,b
,LPSTR
,c
)
2595 Fc(BOOL
,IntersectRect
,LPRECT
,a
,LPRECT
,b
,LPRECT
,c
)
2596 Fc(BOOL
,UnionRect
,LPRECT
,a
,LPRECT
,b
,LPRECT
,c
)
2597 Fc(BOOL
,SubtractRect
,LPRECT
,a
,LPRECT
,b
,LPRECT
,c
)
2598 Fc(DWORD
,GetPixel
,HDC
,a
,short,b
,short,c
)
2599 Fc(DWORD
,GetTextExtent
,HDC
,a
,LPSTR
,b
,short,c
)
2600 Fc(DWORD
,OffsetViewportOrg
,HDC
,a
,short,b
,short,c
)
2601 Fc(DWORD
,OffsetWindowOrg
,HDC
,a
,short,b
,short,c
)
2602 Fc(DWORD
,SetBitmapDimension
,HBITMAP
,a
,short,b
,short,c
)
2603 Fc(DWORD
,SetBrushOrg
,HDC
,a
,short,b
,short,c
)
2604 Fc(DWORD
,SetViewportExt
,HDC
,a
,short,b
,short,c
)
2605 Fc(DWORD
,SetViewportOrg
,HDC
,a
,short,b
,short,c
)
2606 Fc(DWORD
,SetWindowExt
,HDC
,a
,short,b
,short,c
)
2607 Fc(DWORD
,SetWindowOrg
,HDC
,a
,short,b
,short,c
)
2608 Fc(FARPROC
,SetResourceHandler
,HANDLE
,a
,LPSTR
,b
,FARPROC
,c
)
2609 Fc(HANDLE
,AllocResource
,HANDLE
,a
,HANDLE
,b
,DWORD
,c
)
2610 Fc(HANDLE
,FindResource
,HANDLE
,a
,LPSTR
,b
,LPSTR
,c
)
2611 #ifndef GLOBAL_SOURCE
2612 Fc(HANDLE
,GlobalReAlloc
,HANDLE
,a
,DWORD
,b
,WORD
,c
)
2614 Fc(HANDLE
,LocalReAlloc
,HANDLE
,a
,WORD
,b
,WORD
,c
)
2615 Fc(HBITMAP
,CreateCompatibleBitmap
,HDC
,a
,short,b
,short,c
)
2616 Fc(HBITMAP
,CreateDiscardableBitmap
,HDC
,a
,short,b
,short,c
)
2617 Fc(HDC
,GetDCEx
,HWND
,a
,HRGN
,b
,DWORD
,c
)
2618 Fc(HPALETTE
,SelectPalette
,HDC
,a
,HPALETTE
,b
,BOOL
,c
)
2619 Fc(HPEN
,CreatePen
,short,a
,short,b
,COLORREF
,c
)
2620 Fc(HRGN
,CreatePolygonRgn
,LPPOINT
,a
,short,b
,short,c
)
2621 Fc(HWND
,GetNextDlgGroupItem
,HWND
,a
,HWND
,b
,BOOL
,c
)
2622 Fc(HWND
,GetNextDlgTabItem
,HWND
,a
,HWND
,b
,BOOL
,c
)
2623 Fc(LONG
,GetBitmapBits
,HBITMAP
,a
,LONG
,b
,LPSTR
,c
)
2624 Fc(LONG
,SetBitmapBits
,HBITMAP
,a
,LONG
,b
,LPSTR
,c
)
2625 Fc(LONG
,SetClassLong
,HWND
,a
,short,b
,LONG
,c
)
2626 Fc(LONG
,SetWindowLong
,HWND
,a
,short,b
,LONG
,c
)
2627 Fc(WORD
,GetAtomName
,ATOM
,a
,LPSTR
,b
,short,c
)
2628 Fc(WORD
,GetMenuState
,HMENU
,a
,WORD
,b
,WORD
,c
)
2629 Fc(WORD
,GetProfileInt
,LPSTR
,a
,LPSTR
,b
,int,c
)
2630 Fc(WORD
,GlobalGetAtomName
,ATOM
,a
,LPSTR
,b
,short,c
)
2631 Fc(WORD
,SetClassWord
,HWND
,a
,short,b
,WORD
,c
)
2632 Fc(WORD
,SetWindowWord
,HWND
,a
,short,b
,WORD
,c
)
2633 Fc(int,FrameRect
,HDC
,a
,LPRECT
,b
,HBRUSH
,c
)
2634 Fc(int,GetClassName
,HWND
,a
,LPSTR
,b
,short,c
)
2635 Fc(int,GetClipboardFormatName
,WORD
,a
,LPSTR
,b
,short,c
)
2636 Fc(int,GetEnvironment
,LPSTR
,a
,LPSTR
,b
,WORD
,c
)
2637 Fc(int,GetInstanceData
,HANDLE
,a
,NPSTR
,b
,int,c
)
2638 Fc(int,GetKeyNameText
,LONG
,a
,LPSTR
,b
,int,c
)
2639 Fc(int,GetModuleFileName
,HANDLE
,a
,LPSTR
,b
,short,c
)
2640 Fc(int,GetObject
,HANDLE
,a
,int,b
,LPSTR
,c
)
2641 Fc(int,GetTextFace
,HDC
,a
,int,b
,LPSTR
,c
)
2642 Fc(int,GetUpdateRgn
,HWND
,a
,HRGN
,b
,BOOL
,c
)
2643 Fc(int,GetWindowText
,HWND
,a
,LPSTR
,b
,int,c
)
2644 Fc(int,MulDiv
,int,a
,int,b
,int,c
)
2645 Fc(int,OffsetClipRgn
,HDC
,a
,short,b
,short,c
)
2646 Fc(int,OffsetRgn
,HRGN
,a
,short,b
,short,c
)
2647 Fc(int,OpenComm
,LPSTR
,a
,WORD
,b
,WORD
,c
)
2648 Fc(int,OpenFile
,LPSTR
,a
,LPOFSTRUCT
,b
,WORD
,c
)
2649 Fc(int,ReadComm
,int,a
,LPSTR
,b
,int,c
)
2650 Fc(int,SetEnvironment
,LPSTR
,a
,LPSTR
,b
,WORD
,c
)
2651 Fc(int,SetVoiceEnvelope
,int,a
,int,b
,int,c
)
2652 Fc(int,SetVoiceSound
,int,a
,LONG
,b
,int,c
)
2653 Fc(int,TranslateAccelerator
,HWND
,a
,HANDLE
,b
,LPMSG
,c
)
2654 Fc(int,WriteComm
,int,a
,LPSTR
,b
,int,c
)
2655 Fc(int,wvsprintf
,LPSTR
,a
,LPSTR
,b
,LPSTR
,c
)
2656 Fc(short,SetTextJustification
,HDC
,a
,short,b
,short,c
)
2657 Fc(void,AdjustWindowRect
,LPRECT
,a
,DWORD
,b
,BOOL
,c
)
2658 Fc(void,AnsiToOemBuff
,LPSTR
,a
,LPSTR
,b
,int,c
)
2659 Fc(void,CheckDlgButton
,HWND
,a
,WORD
,b
,WORD
,c
)
2660 Fc(void,InflateRect
,LPRECT
,a
,short,b
,short,c
)
2661 Fc(void,InvalidateRect
,HWND
,a
,LPRECT
,b
,BOOL
,c
)
2662 Fc(void,InvalidateRgn
,HWND
,a
,HRGN
,b
,BOOL
,c
)
2663 Fc(void,OemToAnsiBuff
,LPSTR
,a
,LPSTR
,b
,int,c
)
2664 Fc(void,OffsetRect
,LPRECT
,a
,short,b
,short,c
)
2665 Fc(void,SetDlgItemText
,HWND
,a
,WORD
,b
,LPSTR
,c
)
2666 Fc(void,SetSysColors
,int,a
,LPINT
,b
,COLORREF
*,c
)
2667 Fc(void,ShowScrollBar
,HWND
,a
,WORD
,b
,BOOL
,c
)
2668 Fc(void,SwitchStackTo
,WORD
,a
,WORD
,b
,WORD
,c
)
2669 Fd(BOOL
,AppendMenu
,HMENU
,a
,WORD
,b
,WORD
,c
,LPSTR
,d
)
2670 Fd(BOOL
,PostMessage
,HWND
,a
,WORD
,b
,WORD
,c
,LONG
,d
)
2671 Fd(LONG
,SendMessage
,HWND
,a
,WORD
,b
,WORD
,c
,LONG
,d
)
2672 Fd(BOOL
,GetMessage
,LPMSG
,msg
,HWND
,b
,WORD
,c
,WORD
,d
)
2673 Fd(BOOL
,GetTextExtentPoint
,HDC
,a
,LPSTR
,b
,short,c
,LPSIZE
,d
)
2674 Fd(BOOL
,DrawIcon
,HDC
,a
,short,b
,short,c
,HICON
,d
)
2675 Fd(BOOL
,EnumMetaFile
,HDC
,a
,LOCALHANDLE
,b
,FARPROC
,c
,BYTE FAR
*,d
)
2676 Fd(BOOL
,FloodFill
,HDC
,a
,short,b
,short,c
,DWORD
,d
)
2677 Fd(BOOL
,GetCharWidth
,HDC
,a
,WORD
,b
,WORD
,c
,LPINT
,d
)
2678 Fd(BOOL
,HiliteMenuItem
,HWND
,a
,HMENU
,b
,WORD
,c
,WORD
,d
)
2679 Fd(BOOL
,MoveToEx
,HDC
,a
,short,b
,short,c
,LPPOINT
,d
)
2680 Fd(BOOL
,PolyPolygon
,HDC
,a
,LPPOINT
,b
,LPINT
,c
,int,d
)
2681 Fd(BOOL
,PostAppMessage
,HANDLE
,a
,WORD
,b
,WORD
,c
,LONG
,d
)
2682 Fd(BOOL
,RedrawWindow
,HWND
,a
,LPRECT
,b
,HRGN
,c
,UINT
,d
)
2683 Fd(BOOL
,SetBitmapDimensionEx
,HBITMAP
,a
,short,b
,short,c
,LPSIZE
,d
)
2684 Fd(BOOL
,WinHelp
,HWND
,hwndMain
,LPSTR
,lpszHelp
,WORD
,usCommand
,DWORD
,ulData
)
2685 Fd(BOOL
,WritePrivateProfileString
,LPSTR
,a
,LPSTR
,b
,LPSTR
,c
,LPSTR
,d
)
2686 Fd(DWORD
,DefHookProc
,int,a
,WORD
,b
,DWORD
,c
,FARPROC FAR
*,d
)
2687 Fd(COLORREF
,SetPixel
,HDC
,a
,short,b
,short,c
,COLORREF
,d
)
2688 Fd(HDC
,CreateDC
,LPSTR
,a
,LPSTR
,b
,LPSTR
,c
,LPSTR
,d
)
2689 Fd(HDC
,CreateIC
,LPSTR
,a
,LPSTR
,b
,LPSTR
,c
,LPSTR
,d
)
2690 Fd(HRGN
,CreateEllipticRgn
,short,a
,short,b
,short,c
,short,d
)
2691 Fd(HRGN
,CreatePolyPolygonRgn
,LPPOINT
,a
,LPINT
,b
,short,c
,short,d
)
2692 Fd(HRGN
,CreateRectRgn
,short,a
,short,b
,short,c
,short,d
)
2693 Fd(HWND
,CreateDialog
,HANDLE
,a
,LPCSTR
,b
,HWND
,c
,FARPROC
,d
)
2694 Fd(HWND
,CreateDialogIndirect
,HANDLE
,a
,LPCSTR
,b
,HWND
,c
,FARPROC
,d
)
2695 Fd(LONG
,DefDlgProc
,HWND
,a
,WORD
,b
,WORD
,c
,LONG
,d
)
2696 Fd(LONG
,DefMDIChildProc
,HWND
,a
,WORD
,b
,WORD
,c
,LONG
,d
)
2697 Fd(LONG
,DefWindowProc
,HWND
,a
,WORD
,b
,WORD
,c
,LONG
,d
)
2698 Fd(WORD
,GetDlgItemInt
,HWND
,a
,WORD
,b
,BOOL FAR
*,c
,BOOL
,d
)
2699 Fd(WORD
,GetPaletteEntries
,HPALETTE
,a
,WORD
,b
,WORD
,c
,LPPALETTEENTRY
,d
)
2700 Fd(WORD
,GetPrivateProfileInt
,LPSTR
,a
,LPSTR
,b
,short,c
,LPSTR
,d
)
2701 Fd(WORD
,GetSystemPaletteEntries
,HDC
,a
,WORD
,b
,WORD
,c
,LPPALETTEENTRY
,d
)
2702 Fd(WORD
,SetPaletteEntries
,HPALETTE
,a
,WORD
,b
,WORD
,c
,LPPALETTEENTRY
,d
)
2703 Fd(WORD
,SetTimer
,HWND
,a
,WORD
,d
,WORD
,b
,FARPROC
,c
)
2704 Fd(BOOL
,SetViewportExtEx
,HDC
,a
,short,b
,short,c
,LPSIZE
,d
)
2705 Fd(BOOL
,SetViewportOrgEx
,HDC
,a
,short,b
,short,c
,LPPOINT
,d
)
2706 Fd(BOOL
,SetWindowExtEx
,HDC
,a
,short,b
,short,c
,LPSIZE
,d
)
2707 Fd(BOOL
,SetWindowOrgEx
,HDC
,a
,short,b
,short,c
,LPPOINT
,d
)
2708 Fd(BOOL
,OffsetViewportOrgEx
,HDC
,a
,short,b
,short,c
,LPPOINT
,d
)
2709 Fd(BOOL
,OffsetWindowOrgEx
,HDC
,a
,short,b
,short,c
,LPPOINT
,d
)
2710 Fd(int,CombineRgn
,HRGN
,a
,HRGN
,b
,HRGN
,c
,short,d
)
2711 Fd(int,DialogBox
,HINSTANCE
,a
,LPCSTR
,b
,HWND
,c
,FARPROC
,d
)
2712 Fd(int,DialogBoxIndirect
,HANDLE
,a
,HANDLE
,b
,HWND
,c
,FARPROC
,d
)
2713 Fd(int,EnumFonts
,HDC
,a
,LPSTR
,b
,FARPROC
,c
,LPSTR
,d
)
2714 Fd(int,EnumObjects
,HDC
,a
,int,b
,FARPROC
,c
,LPSTR
,d
)
2715 Fd(int,GetDlgItemText
,HWND
,a
,WORD
,b
,LPSTR
,c
,WORD
,d
)
2716 Fd(int,GetTempFileName
,BYTE
,a
,LPCSTR
,b
,UINT
,c
,LPSTR
,d
)
2717 Fd(int,LoadString
,HANDLE
,a
,WORD
,b
,LPSTR
,c
,int,d
)
2718 Fd(int,MessageBox
,HWND
,a
,LPSTR
,b
,LPSTR
,c
,WORD
,d
)
2719 Fd(int,SetScrollPos
,HWND
,a
,int,b
,int,c
,BOOL
,d
)
2720 Fd(int,SetVoiceNote
,int,a
,int,b
,int,c
,int,d
)
2721 Fd(void,AdjustWindowRectEx
,LPRECT
,a
,DWORD
,b
,BOOL
,c
,DWORD
,d
)
2722 Fd(void,AnimatePalette
,HPALETTE
,a
,WORD
,b
,WORD
,c
,LPPALETTEENTRY
,d
)
2723 Fd(void,CheckRadioButton
,HWND
,a
,WORD
,b
,WORD
,c
,WORD
,d
)
2724 Fd(void,CreateCaret
,HWND
,a
,HBITMAP
,b
,short,c
,short,d
)
2725 Fd(void,FillWindow
,HWND
,a
,HWND
,b
,HDC
,c
,HBRUSH
,d
)
2726 Fd(void,GetScrollRange
,HWND
,a
,int,b
,LPINT
,c
,LPINT
,d
)
2727 Fd(void,MapWindowPoints
,HWND
,a
,HWND
,b
,LPPOINT
,c
,WORD
,d
)
2728 Fd(void,PlayMetaFileRecord
,HDC
,a
,LPHANDLETABLE
,b
,LPMETARECORD
,c
,WORD
,d
)
2729 Fd(void,SetInternalWindowPos
,HWND
,a
,WORD
,b
,LPRECT
,c
,LPPOINT
,d
)
2730 Fd(void,SetDlgItemInt
,HWND
,a
,WORD
,b
,WORD
,c
,BOOL
,d
)
2731 Fe(BOOL
,Rectangle
,HDC
,a
,int,xLeft
,int,yTop
,int,xRight
,int,yBottom
)
2732 Fe(int,DrawText
,HDC
,a
,LPSTR
,str
,int,c
,LPRECT
,d
,WORD
,flag
)
2733 Fe(BOOL
,PeekMessage
,LPMSG
,a
,HWND
,b
,WORD
,c
,WORD
,d
,WORD
,e
)
2734 Fe(LONG
,CallWindowProc
,FARPROC
,a
,HWND
,b
,WORD
,c
,WORD
,d
,LONG
,e
)
2735 Fe(BOOL
,ChangeMenu
,HMENU
,a
,WORD
,b
,LPSTR
,c
,WORD
,d
,WORD
,e
)
2736 Fe(BOOL
,Ellipse
,HDC
,a
,int,b
,int,c
,int,d
,int,e
)
2737 Fe(BOOL
,ExtFloodFill
,HDC
,a
,int,b
,int,c
,DWORD
,d
,WORD
,e
)
2738 Fe(BOOL
,FrameRgn
,HDC
,a
,HRGN
,b
,HBRUSH
,e
,int,c
,int,d
)
2739 Fe(BOOL
,InsertMenu
,HMENU
,a
,WORD
,b
,WORD
,c
,WORD
,d
,LPSTR
,e
)
2740 Fe(BOOL
,ModifyMenu
,HMENU
,a
,WORD
,b
,WORD
,c
,WORD
,d
,LPSTR
,e
)
2741 Fe(BOOL
,SetMenuItemBitmaps
,HMENU
,a
,WORD
,b
,WORD
,c
,HBITMAP
,d
,HBITMAP
,e
)
2742 Fe(BOOL
,TextOut
,HDC
,a
,short,b
,short,c
,LPSTR
,d
,short,e
)
2743 Fe(DWORD
,GetTabbedTextExtent
,HDC
,a
,LPSTR
,b
,int,c
,int,d
,LPINT
,e
)
2744 Fe(DWORD
,ScaleViewportExt
,HDC
,a
,short,b
,short,c
,short,d
,short,e
)
2745 Fe(DWORD
,ScaleWindowExt
,HDC
,a
,short,b
,short,c
,short,d
,short,e
)
2746 Fe(HBITMAP
,CreateBitmap
,short,a
,short,b
,BYTE
,c
,BYTE
,d
,LPSTR
,e
)
2747 Fe(HWND
,CreateDialogIndirectParam
,HANDLE
,a
,LPCSTR
,b
,HWND
,c
,FARPROC
,d
,LPARAM
,e
)
2748 Fe(HWND
,CreateDialogParam
,HANDLE
,a
,LPCSTR
,b
,HWND
,c
,FARPROC
,d
,LPARAM
,e
)
2749 Fe(LONG
,DefFrameProc
,HWND
,a
,HWND
,b
,WORD
,c
,WORD
,d
,LONG
,e
)
2750 Fe(LONG
,SendDlgItemMessage
,HWND
,a
,WORD
,b
,WORD
,c
,WORD
,d
,LONG
,e
)
2751 Fe(int,DialogBoxIndirectParam
,HANDLE
,a
,HANDLE
,b
,HWND
,c
,FARPROC
,d
,LONG
,e
)
2752 Fe(int,DialogBoxParam
,HANDLE
,a
,LPCSTR
,b
,HWND
,c
,FARPROC
,d
,LONG
,e
)
2753 Fe(int,DlgDirList
,HWND
,a
,LPSTR
,b
,int,c
,int,d
,WORD
,e
)
2754 Fe(int,DlgDirListComboBox
,HWND
,a
,LPSTR
,b
,int,c
,int,d
,WORD
,e
)
2755 Fe(int,Escape
,HDC
,a
,int,b
,int,c
,LPSTR
,d
,LPSTR
,e
)
2756 Fe(int,ExcludeClipRect
,HDC
,a
,short,b
,short,c
,short,d
,short,e
)
2757 Fe(int,ExcludeVisRect
,HDC
,a
,short,b
,short,c
,short,d
,short,e
)
2758 Fe(int,GetMenuString
,HMENU
,a
,WORD
,b
,LPSTR
,c
,int,d
,WORD
,e
)
2759 Fe(int,GetProfileString
,LPSTR
,a
,LPSTR
,b
,LPSTR
,c
,LPSTR
,d
,int,e
)
2760 Fe(int,IntersectClipRect
,HDC
,a
,short,b
,short,c
,short,d
,short,e
)
2761 Fe(int,IntersectVisRect
,HDC
,a
,short,b
,short,c
,short,d
,short,e
)
2762 Fe(int,SetVoiceAccent
,int,a
,int,b
,int,c
,int,d
,int,e
)
2763 Fe(int,ToAscii
,WORD
,wVirtKey
,WORD
,wScanCode
,LPSTR
,lpKeyState
,LPVOID
,lpChar
,WORD
,wFlags
)
2764 Fe(void,PaintRect
,HWND
,a
,HWND
,b
,HDC
,c
,HBRUSH
,d
,LPRECT
,e
)
2765 Fe(void,ScrollWindow
,HWND
,a
,short,b
,short,c
,LPRECT
,d
,LPRECT
,e
)
2766 Fe(void,SetRect
,LPRECT
,a
,short,b
,short,c
,short,d
,short,e
)
2767 Fe(void,SetRectRgn
,HRGN
,a
,short,b
,short,c
,short,d
,short,e
)
2768 Fe(void,SetScrollRange
,HWND
,a
,int,b
,int,c
,int,d
,BOOL
,e
)
2769 Ff(BOOL
,PatBlt
,HDC
,a
,short,b
,short,c
,short,d
,short,e
,DWORD
,f
)
2770 Ff(HBITMAP
,CreateDIBitmap
,HDC
,a
,LPBITMAPINFOHEADER
,b
,DWORD
,c
,LPSTR
,d
,LPBITMAPINFO
,e
,WORD
,f
)
2771 Ff(HRGN
,CreateRoundRectRgn
,short,a
,short,b
,short,c
,short,d
,short,e
,short,f
)
2772 Ff(short,GetPrivateProfileString
,LPSTR
,a
,LPSTR
,b
,LPSTR
,c
,LPSTR
,d
,short,e
,LPSTR
,f
)
2773 Ff(void,LineDDA
,short,a
,short,b
,short,c
,short,d
,FARPROC
,e
,long,f
)
2774 Ff(BOOL
,MoveWindow
,HWND
,a
,short,b
,short,c
,short,d
,short,e
,BOOL
,f
)
2775 Ff(BOOL
,ScaleViewportExtEx
,HDC
,a
,short,b
,short,c
,short,d
,short,e
,LPSIZE
,f
)
2776 Ff(BOOL
,ScaleWindowExtEx
,HDC
,a
,short,b
,short,c
,short,d
,short,e
,LPSIZE
,f
)
2777 Fg(BOOL
,RoundRect
,HDC
,a
,short,b
,short,c
,short,d
,short,e
,short,f
,short,g
)
2778 Fg(BOOL
,ScrollDC
,HDC
,a
,short,b
,short,c
,LPRECT
,d
,LPRECT
,e
,HRGN
,f
,LPRECT
,g
)
2779 Fg(BOOL
,TrackPopupMenu
,HMENU
,a
,WORD
,b
,short,c
,short,d
,short,e
,HWND
,f
,LPRECT
,g
)
2780 Fg(HCURSOR
,CreateCursor
,HANDLE
,a
,short,b
,short,c
,short,d
,short,e
,LPSTR
,f
,LPSTR
,g
)
2781 Fg(HICON
,CreateIcon
,HANDLE
,a
,int,b
,int,c
,BYTE
,d
,BYTE
,e
,LPSTR
,f
,LPSTR
,g
)
2782 Fg(int,GetDIBits
,HDC
,a
,HANDLE
,a2
,WORD
,b
,WORD
,c
,LPSTR
,d
,LPBITMAPINFO
,e
,WORD
,f
)
2783 Fg(int,SetDIBits
,HDC
,a
,HANDLE
,a2
,WORD
,b
,WORD
,c
,LPSTR
,d
,LPBITMAPINFO
,e
,WORD
,f
)
2784 Fg(BOOL
,SetWindowPos
,HWND
,a
,HWND
,b
,short,c
,short,d
,short,e
,short,f
,WORD
,g
)
2785 Fh(BOOL
,ExtTextOut
,HDC
,a
,int,b
,int,c
,WORD
,d
,LPRECT
,e
,LPSTR
,f
,WORD
,g
,LPINT
,h
)
2786 Fh(HANDLE
,DeferWindowPos
,HANDLE
,hWinPosInfo
,HWND
,hWnd
,HWND
,hWndInsertAfter
,int,x
,int,y
,int,cx
,int,cy
,WORD
,wFlags
)
2787 Fh(LONG
,TabbedTextOut
,HDC
,a
,int,b
,int,c
,LPSTR
,d
,int,e
,int,f
,LPINT
,g
,int,h
)
2788 Fh(int,ScrollWindowEx
,HWND
,a
,short,b
,short,c
,LPRECT
,d
,LPRECT
,e
,HRGN
,f
,LPRECT
,g
,WORD
,h
)
2789 Fi(BOOL
,Arc
,HDC
,a
,int,xLeft
,int,yTop
,int,xRight
,int,yBottom
,int,xStart
,int,yStart
,int,xEnd
,int,yEnd
)
2790 Fi(BOOL
,Chord
,HDC
,a
,int,xLeft
,int,yTop
,int,xRight
,int,yBottom
,int,xStart
,int,yStart
,int,xEnd
,int,yEnd
)
2791 Fi(BOOL
,BitBlt
,HDC
,a
,short,b
,short,c
,short,d
,short,e
,HDC
,f
,short,g
,short,h
,DWORD
,i
)
2792 Fi(BOOL
,GrayString
,HDC
,a
,HBRUSH
,b
,FARPROC
,c
,DWORD
,d
,int,e
,int,f
,int,g
,int,h
,int,i
)
2793 Fi(BOOL
,Pie
,HDC
,a
,int,xLeft
,int,yTop
,int,xRight
,int,yBottom
,int,xStart
,int,yStart
,int,xEnd
,int,yEnd
)
2794 Fk(HWND
,CreateWindow
,LPSTR
,szAppName
,LPSTR
,Label
,DWORD
,ol
,short,x
,short,y
,short,w
,short,h
,HWND
,d
,HMENU
,e
,,HANDLE i
,LPSTR
,g
)
2795 Fk(BOOL
,StretchBlt
,HDC
,a
,short,b
,short,c
,short,d
,short,e
,HDC
,f
,short,g
,short,h
,short,i
,short,j
,DWORD
,k
)
2796 Fl(HWND
,CreateWindowEx
,DWORD
,a
,LPSTR
,b
,LPSTR
,c
,DWORD
,d
,short,e
,short,f
,short,g
,short,h
,HWND
,i
,HMENU
,j
,HANDLE
,k
,LPSTR
,l
)
2797 Fl(int,SetDIBitsToDevice
,HDC
,a
,short,b
,short,c
,WORD
,d
,WORD
,e
,WORD
,f
,WORD
,g
,WORD
,h
,WORD
,i
,LPSTR
,j
,LPBITMAPINFO
,k
,WORD
,l
)
2798 Fm(int,StretchDIBits
,HDC
,a
,WORD
,b
,WORD
,c
,WORD
,d
,WORD
,e
,WORD
,f
,WORD
,g
,WORD
,h
,WORD
,i
,LPSTR
,j
,LPBITMAPINFO
,k
,WORD
,l
,DWORD
,m
)
2799 Fn(HFONT
,CreateFont
,int,a
,int,b
,int,c
,int,d
,int,e
,BYTE
,f
,BYTE
,g
,BYTE
,h
,BYTE
,i
,BYTE
,j
,BYTE
,k
,BYTE
,l
,BYTE
,m
,LPSTR
,n
)
2801 #endif /* WINDOWS_H */