Patrik Stridvall | 857eb39 | 1999-06-12 18:36:54 +0000 | [diff] [blame] | 1 | #ifndef _WINUSER_ |
| 2 | #define _WINUSER_ |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 3 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 4 | #ifndef RC_INVOKED |
| 5 | #include <stdarg.h> |
| 6 | #endif |
Jim Aston | 2e1cafa | 1999-03-14 16:35:05 +0000 | [diff] [blame] | 7 | #include "windef.h" |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 8 | #include "wingdi.h" |
| 9 | |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 10 | #ifdef __cplusplus |
| 11 | extern "C" { |
| 12 | #endif |
| 13 | |
Jim Aston | 10141fe | 1999-04-25 12:31:20 +0000 | [diff] [blame] | 14 | #include "pshpack1.h" |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 15 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 16 | /* flags for HIGHCONTRAST dwFlags field */ |
| 17 | #define HCF_HIGHCONTRASTON 0x00000001 |
| 18 | #define HCF_AVAILABLE 0x00000002 |
| 19 | #define HCF_HOTKEYACTIVE 0x00000004 |
| 20 | #define HCF_CONFIRMHOTKEY 0x00000008 |
| 21 | #define HCF_HOTKEYSOUND 0x00000010 |
| 22 | #define HCF_INDICATOR 0x00000020 |
| 23 | #define HCF_HOTKEYAVAILABLE 0x00000040 |
Paul Quinn | 97c1c83 | 1999-02-14 13:48:43 +0000 | [diff] [blame] | 24 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 25 | typedef struct tagHIGHCONTRASTA |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 26 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 27 | UINT cbSize; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 28 | DWORD dwFlags; |
| 29 | LPSTR lpszDefaultScheme; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 30 | } HIGHCONTRASTA, *LPHIGHCONTRASTA; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 31 | |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 32 | typedef struct tagHIGHCONTRASTW |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 33 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 34 | UINT cbSize; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 35 | DWORD dwFlags; |
| 36 | LPWSTR lpszDefaultScheme; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 37 | } HIGHCONTRASTW, *LPHIGHCONTRASTW; |
Paul Quinn | 97c1c83 | 1999-02-14 13:48:43 +0000 | [diff] [blame] | 38 | |
| 39 | DECL_WINELIB_TYPE_AW(HIGHCONTRAST) |
| 40 | DECL_WINELIB_TYPE_AW(LPHIGHCONTRAST) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 41 | |
| 42 | typedef struct |
| 43 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 44 | UINT message; |
| 45 | UINT paramL; |
| 46 | UINT paramH; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 47 | DWORD time; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 48 | HWND hwnd; |
| 49 | } EVENTMSG, *LPEVENTMSG; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 50 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 51 | |
| 52 | /* Mouse hook structure */ |
| 53 | |
| 54 | typedef struct |
| 55 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 56 | POINT pt; |
| 57 | HWND hwnd; |
| 58 | UINT wHitTestCode; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 59 | DWORD dwExtraInfo; |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 60 | } MOUSEHOOKSTRUCT, *PMOUSEHOOKSTRUCT, *LPMOUSEHOOKSTRUCT; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 61 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 62 | |
| 63 | /* Hardware hook structure */ |
| 64 | |
| 65 | typedef struct |
| 66 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 67 | HWND hWnd; |
| 68 | UINT wMessage; |
| 69 | WPARAM wParam; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 70 | LPARAM lParam; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 71 | } HARDWAREHOOKSTRUCT, *LPHARDWAREHOOKSTRUCT; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 72 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 73 | |
| 74 | /* Debug hook structure */ |
| 75 | |
| 76 | typedef struct |
| 77 | { |
| 78 | DWORD idThread; |
| 79 | DWORD idThreadInstaller; |
| 80 | LPARAM lParam; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 81 | WPARAM wParam; |
| 82 | INT code; |
| 83 | } DEBUGHOOKINFO, *LPDEBUGHOOKINFO; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 84 | |
Paul Quinn | 89b21b4 | 1999-03-14 13:47:00 +0000 | [diff] [blame] | 85 | #define HKL_PREV 0 |
| 86 | #define HKL_NEXT 1 |
| 87 | |
| 88 | #define KLF_ACTIVATE 0x00000001 |
| 89 | #define KLF_SUBSTITUTE_OK 0x00000002 |
| 90 | #define KLF_UNLOADPREVIOUS 0x00000004 |
| 91 | #define KLF_REORDER 0x00000008 |
| 92 | #define KLF_REPLACELANG 0x00000010 |
| 93 | #define KLF_NOTELLSHELL 0x00000080 |
| 94 | |
| 95 | #define KL_NAMELENGTH 9 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 96 | |
| 97 | /***** Dialogs *****/ |
| 98 | #ifdef FSHIFT |
| 99 | /* Gcc on Solaris has a version of this that we don't care about. */ |
| 100 | #undef FSHIFT |
| 101 | #endif |
| 102 | |
| 103 | #define FVIRTKEY TRUE /* Assumed to be == TRUE */ |
| 104 | #define FNOINVERT 0x02 |
| 105 | #define FSHIFT 0x04 |
| 106 | #define FCONTROL 0x08 |
| 107 | #define FALT 0x10 |
| 108 | |
| 109 | |
| 110 | typedef struct tagANIMATIONINFO |
| 111 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 112 | UINT cbSize; |
| 113 | INT iMinAnimate; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 114 | } ANIMATIONINFO, *LPANIMATIONINFO; |
| 115 | |
| 116 | typedef struct tagNMHDR |
| 117 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 118 | HWND hwndFrom; |
| 119 | UINT idFrom; |
| 120 | UINT code; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 121 | } NMHDR, *LPNMHDR; |
| 122 | |
| 123 | typedef struct |
| 124 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 125 | UINT cbSize; |
| 126 | INT iTabLength; |
| 127 | INT iLeftMargin; |
| 128 | INT iRightMargin; |
| 129 | UINT uiLengthDrawn; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 130 | } DRAWTEXTPARAMS,*LPDRAWTEXTPARAMS; |
| 131 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 132 | #define WM_USER 0x0400 |
| 133 | |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 134 | #define DT_EDITCONTROL 0x00002000 |
| 135 | #define DT_PATH_ELLIPSIS 0x00004000 |
| 136 | #define DT_END_ELLIPSIS 0x00008000 |
| 137 | #define DT_MODIFYSTRING 0x00010000 |
| 138 | #define DT_RTLREADING 0x00020000 |
| 139 | #define DT_WORD_ELLIPSIS 0x00040000 |
| 140 | |
| 141 | typedef struct |
| 142 | { |
| 143 | LPARAM lParam; |
| 144 | WPARAM16 wParam; |
| 145 | UINT16 message; |
| 146 | HWND16 hwnd; |
| 147 | } CWPSTRUCT16, *LPCWPSTRUCT16; |
| 148 | |
| 149 | typedef struct |
| 150 | { |
| 151 | LPARAM lParam; |
| 152 | WPARAM wParam; |
| 153 | UINT message; |
| 154 | HWND hwnd; |
| 155 | } CWPSTRUCT, *LPCWPSTRUCT; |
| 156 | |
| 157 | |
| 158 | |
| 159 | typedef struct |
| 160 | { |
| 161 | LRESULT lResult; |
| 162 | LPARAM lParam; |
| 163 | WPARAM16 wParam; |
| 164 | DWORD message; |
| 165 | HWND16 hwnd; |
| 166 | } CWPRETSTRUCT16, *LPCWPRETSTRUCT16; |
| 167 | |
| 168 | typedef struct |
| 169 | { |
| 170 | LRESULT lResult; |
| 171 | LPARAM lParam; |
| 172 | WPARAM wParam; |
| 173 | DWORD message; |
| 174 | HWND hwnd; |
| 175 | } CWPRETSTRUCT, *LPCWPRETSTRUCT; |
| 176 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 177 | typedef struct |
| 178 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 179 | UINT length; |
| 180 | UINT flags; |
| 181 | UINT showCmd; |
| 182 | POINT ptMinPosition WINE_PACKED; |
| 183 | POINT ptMaxPosition WINE_PACKED; |
| 184 | RECT rcNormalPosition WINE_PACKED; |
| 185 | } WINDOWPLACEMENT, *LPWINDOWPLACEMENT; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 186 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 187 | |
| 188 | /* WINDOWPLACEMENT flags */ |
| 189 | #define WPF_SETMINPOSITION 0x0001 |
| 190 | #define WPF_RESTORETOMAXIMIZED 0x0002 |
| 191 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 192 | /***** Dialogs *****/ |
| 193 | |
| 194 | /* cbWndExtra bytes for dialog class */ |
| 195 | #define DLGWINDOWEXTRA 30 |
| 196 | |
| 197 | /* Button control styles */ |
| 198 | #define BS_PUSHBUTTON 0x00000000L |
| 199 | #define BS_DEFPUSHBUTTON 0x00000001L |
| 200 | #define BS_CHECKBOX 0x00000002L |
| 201 | #define BS_AUTOCHECKBOX 0x00000003L |
| 202 | #define BS_RADIOBUTTON 0x00000004L |
| 203 | #define BS_3STATE 0x00000005L |
| 204 | #define BS_AUTO3STATE 0x00000006L |
| 205 | #define BS_GROUPBOX 0x00000007L |
| 206 | #define BS_USERBUTTON 0x00000008L |
| 207 | #define BS_AUTORADIOBUTTON 0x00000009L |
| 208 | #define BS_OWNERDRAW 0x0000000BL |
| 209 | #define BS_LEFTTEXT 0x00000020L |
Pascal Lessard | 026f705 | 1999-04-15 15:49:36 +0000 | [diff] [blame] | 210 | #define BS_ICON 0x00000040L |
| 211 | #define BS_BITMAP 0x00000080L |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 212 | |
Jim Aston | 10141fe | 1999-04-25 12:31:20 +0000 | [diff] [blame] | 213 | #define BS_TEXT 0x00000000L |
| 214 | #define BS_ICON 0x00000040L |
| 215 | #define BS_BITMAP 0x00000080L |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 216 | #define BS_LEFT 0x00000100L |
Jim Aston | 10141fe | 1999-04-25 12:31:20 +0000 | [diff] [blame] | 217 | #define BS_RIGHT 0x00000200L |
| 218 | #define BS_CENTER 0x00000300L |
| 219 | #define BS_TOP 0x00000400L |
| 220 | #define BS_BOTTOM 0x00000800L |
| 221 | #define BS_VCENTER 0x00000C00L |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 222 | #define BS_PUSHLIKE 0x00001000L |
| 223 | #define BS_MULTILINE 0x00002000L |
| 224 | #define BS_NOTIFY 0x00004000L |
| 225 | #define BS_FLAT 0x00008000L |
| 226 | |
| 227 | /* Button control messages */ |
| 228 | |
| 229 | #define BST_UNCHECKED 0x0000 |
| 230 | #define BST_CHECKED 0x0001 |
| 231 | #define BST_INDETERMINATE 0x0002 |
| 232 | #define BST_PUSHED 0x0004 |
| 233 | #define BST_FOCUS 0x0008 |
| 234 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 235 | /* Dialog styles */ |
| 236 | #define DS_ABSALIGN 0x0001 |
| 237 | #define DS_SYSMODAL 0x0002 |
| 238 | #define DS_3DLOOK 0x0004 /* win95 */ |
| 239 | #define DS_FIXEDSYS 0x0008 /* win95 */ |
| 240 | #define DS_NOFAILCREATE 0x0010 /* win95 */ |
| 241 | #define DS_LOCALEDIT 0x0020 |
| 242 | #define DS_SETFONT 0x0040 |
| 243 | #define DS_MODALFRAME 0x0080 |
| 244 | #define DS_NOIDLEMSG 0x0100 |
| 245 | #define DS_SETFOREGROUND 0x0200 /* win95 */ |
| 246 | #define DS_CONTROL 0x0400 /* win95 */ |
| 247 | #define DS_CENTER 0x0800 /* win95 */ |
| 248 | #define DS_CENTERMOUSE 0x1000 /* win95 */ |
| 249 | #define DS_CONTEXTHELP 0x2000 /* win95 */ |
| 250 | |
| 251 | |
| 252 | /* Dialog messages */ |
| 253 | #define DM_GETDEFID (WM_USER+0) |
| 254 | #define DM_SETDEFID (WM_USER+1) |
| 255 | |
| 256 | #define DC_HASDEFID 0x534b |
| 257 | |
| 258 | /* Owner draw control types */ |
| 259 | #define ODT_MENU 1 |
| 260 | #define ODT_LISTBOX 2 |
| 261 | #define ODT_COMBOBOX 3 |
| 262 | #define ODT_BUTTON 4 |
Juergen Schmied | 7851394 | 1999-04-18 14:40:32 +0000 | [diff] [blame] | 263 | #define ODT_STATIC 5 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 264 | |
| 265 | /* Owner draw actions */ |
| 266 | #define ODA_DRAWENTIRE 0x0001 |
| 267 | #define ODA_SELECT 0x0002 |
| 268 | #define ODA_FOCUS 0x0004 |
| 269 | |
| 270 | /* Owner draw state */ |
| 271 | #define ODS_SELECTED 0x0001 |
| 272 | #define ODS_GRAYED 0x0002 |
| 273 | #define ODS_DISABLED 0x0004 |
| 274 | #define ODS_CHECKED 0x0008 |
| 275 | #define ODS_FOCUS 0x0010 |
Juergen Schmied | 7851394 | 1999-04-18 14:40:32 +0000 | [diff] [blame] | 276 | #define ODS_COMBOBOXEDIT 0x1000 |
| 277 | #define ODS_HOTLIGHT 0x0040 |
| 278 | #define ODS_INACTIVE 0x0080 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 279 | |
| 280 | /* Edit control styles */ |
| 281 | #define ES_LEFT 0x00000000 |
| 282 | #define ES_CENTER 0x00000001 |
| 283 | #define ES_RIGHT 0x00000002 |
| 284 | #define ES_MULTILINE 0x00000004 |
| 285 | #define ES_UPPERCASE 0x00000008 |
| 286 | #define ES_LOWERCASE 0x00000010 |
| 287 | #define ES_PASSWORD 0x00000020 |
| 288 | #define ES_AUTOVSCROLL 0x00000040 |
| 289 | #define ES_AUTOHSCROLL 0x00000080 |
| 290 | #define ES_NOHIDESEL 0x00000100 |
| 291 | #define ES_OEMCONVERT 0x00000400 |
| 292 | #define ES_READONLY 0x00000800 |
| 293 | #define ES_WANTRETURN 0x00001000 |
| 294 | #define ES_NUMBER 0x00002000 |
| 295 | |
| 296 | /* OEM Resource Ordinal Numbers */ |
Pavel Roskin | cb32721 | 1999-03-13 18:10:43 +0000 | [diff] [blame] | 297 | #define OBM_CLOSED 32731 |
| 298 | #define OBM_RADIOCHECK 32732 |
| 299 | #define OBM_TRTYPE 32733 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 300 | #define OBM_LFARROWI 32734 |
Pavel Roskin | cb32721 | 1999-03-13 18:10:43 +0000 | [diff] [blame] | 301 | #define OBM_RGARROWI 32735 |
| 302 | #define OBM_DNARROWI 32736 |
| 303 | #define OBM_UPARROWI 32737 |
| 304 | #define OBM_COMBO 32738 |
| 305 | #define OBM_MNARROW 32739 |
| 306 | #define OBM_LFARROWD 32740 |
| 307 | #define OBM_RGARROWD 32741 |
| 308 | #define OBM_DNARROWD 32742 |
| 309 | #define OBM_UPARROWD 32743 |
| 310 | #define OBM_RESTORED 32744 |
| 311 | #define OBM_ZOOMD 32745 |
| 312 | #define OBM_REDUCED 32746 |
| 313 | #define OBM_RESTORE 32747 |
| 314 | #define OBM_ZOOM 32748 |
| 315 | #define OBM_REDUCE 32749 |
| 316 | #define OBM_LFARROW 32750 |
| 317 | #define OBM_RGARROW 32751 |
| 318 | #define OBM_DNARROW 32752 |
| 319 | #define OBM_UPARROW 32753 |
| 320 | #define OBM_CLOSE 32754 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 321 | #define OBM_OLD_RESTORE 32755 |
Pavel Roskin | cb32721 | 1999-03-13 18:10:43 +0000 | [diff] [blame] | 322 | #define OBM_OLD_ZOOM 32756 |
| 323 | #define OBM_OLD_REDUCE 32757 |
| 324 | #define OBM_BTNCORNERS 32758 |
| 325 | #define OBM_CHECKBOXES 32759 |
| 326 | #define OBM_CHECK 32760 |
| 327 | #define OBM_BTSIZE 32761 |
| 328 | #define OBM_OLD_LFARROW 32762 |
| 329 | #define OBM_OLD_RGARROW 32763 |
| 330 | #define OBM_OLD_DNARROW 32764 |
| 331 | #define OBM_OLD_UPARROW 32765 |
| 332 | #define OBM_SIZE 32766 |
| 333 | #define OBM_OLD_CLOSE 32767 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 334 | |
| 335 | #define OCR_BUMMER 100 |
| 336 | #define OCR_DRAGOBJECT 101 |
| 337 | |
| 338 | #define OCR_NORMAL 32512 |
| 339 | #define OCR_IBEAM 32513 |
| 340 | #define OCR_WAIT 32514 |
| 341 | #define OCR_CROSS 32515 |
| 342 | #define OCR_UP 32516 |
| 343 | #define OCR_SIZE 32640 |
| 344 | #define OCR_ICON 32641 |
| 345 | #define OCR_SIZENWSE 32642 |
| 346 | #define OCR_SIZENESW 32643 |
| 347 | #define OCR_SIZEWE 32644 |
| 348 | #define OCR_SIZENS 32645 |
| 349 | #define OCR_SIZEALL 32646 |
| 350 | #define OCR_ICOCUR 32647 |
| 351 | #define OCR_NO 32648 |
| 352 | #define OCR_APPSTARTING 32650 |
| 353 | #define OCR_HELP 32651 /* only defined in wine */ |
| 354 | |
| 355 | #define OIC_SAMPLE 32512 |
| 356 | #define OIC_HAND 32513 |
| 357 | #define OIC_QUES 32514 |
| 358 | #define OIC_BANG 32515 |
| 359 | #define OIC_NOTE 32516 |
| 360 | #define OIC_PORTRAIT 32517 |
| 361 | #define OIC_LANDSCAPE 32518 |
| 362 | #define OIC_WINEICON 32519 |
Pavel Roskin | cb32721 | 1999-03-13 18:10:43 +0000 | [diff] [blame] | 363 | #define OIC_FOLDER 32520 |
| 364 | #define OIC_FOLDER2 32521 |
| 365 | #define OIC_FLOPPY 32522 |
| 366 | #define OIC_CDROM 32523 |
| 367 | #define OIC_HDISK 32524 |
| 368 | #define OIC_NETWORK 32525 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 369 | |
Huw D M Davies | a9f55c4 | 1999-05-08 12:45:18 +0000 | [diff] [blame] | 370 | #define COLOR_SCROLLBAR 0 |
| 371 | #define COLOR_BACKGROUND 1 |
| 372 | #define COLOR_ACTIVECAPTION 2 |
| 373 | #define COLOR_INACTIVECAPTION 3 |
| 374 | #define COLOR_MENU 4 |
| 375 | #define COLOR_WINDOW 5 |
| 376 | #define COLOR_WINDOWFRAME 6 |
| 377 | #define COLOR_MENUTEXT 7 |
| 378 | #define COLOR_WINDOWTEXT 8 |
| 379 | #define COLOR_CAPTIONTEXT 9 |
| 380 | #define COLOR_ACTIVEBORDER 10 |
| 381 | #define COLOR_INACTIVEBORDER 11 |
| 382 | #define COLOR_APPWORKSPACE 12 |
| 383 | #define COLOR_HIGHLIGHT 13 |
| 384 | #define COLOR_HIGHLIGHTTEXT 14 |
| 385 | #define COLOR_BTNFACE 15 |
| 386 | #define COLOR_BTNSHADOW 16 |
| 387 | #define COLOR_GRAYTEXT 17 |
| 388 | #define COLOR_BTNTEXT 18 |
| 389 | #define COLOR_INACTIVECAPTIONTEXT 19 |
| 390 | #define COLOR_BTNHIGHLIGHT 20 |
| 391 | /* win95 colors */ |
| 392 | #define COLOR_3DDKSHADOW 21 |
| 393 | #define COLOR_3DLIGHT 22 |
| 394 | #define COLOR_INFOTEXT 23 |
| 395 | #define COLOR_INFOBK 24 |
| 396 | #define COLOR_DESKTOP COLOR_BACKGROUND |
| 397 | #define COLOR_3DFACE COLOR_BTNFACE |
| 398 | #define COLOR_3DSHADOW COLOR_BTNSHADOW |
| 399 | #define COLOR_3DHIGHLIGHT COLOR_BTNHIGHLIGHT |
| 400 | #define COLOR_3DHILIGHT COLOR_BTNHIGHLIGHT |
| 401 | #define COLOR_BTNHILIGHT COLOR_BTNHIGHLIGHT |
| 402 | /* win98 colors */ |
| 403 | #define COLOR_ALTERNATEBTNFACE 25 /* undocumented, constant's name unknown */ |
| 404 | #define COLOR_HOTLIGHT 26 |
| 405 | #define COLOR_GRADIENTACTIVECAPTION 27 |
| 406 | #define COLOR_GRADIENTINACTIVECAPTION 28 |
| 407 | |
| 408 | /* WM_CTLCOLOR values */ |
| 409 | #define CTLCOLOR_MSGBOX 0 |
| 410 | #define CTLCOLOR_EDIT 1 |
| 411 | #define CTLCOLOR_LISTBOX 2 |
| 412 | #define CTLCOLOR_BTN 3 |
| 413 | #define CTLCOLOR_DLG 4 |
| 414 | #define CTLCOLOR_SCROLLBAR 5 |
| 415 | #define CTLCOLOR_STATIC 6 |
| 416 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 417 | /* Edit control messages */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 418 | #define EM_GETSEL 0x00b0 |
| 419 | #define EM_SETSEL 0x00b1 |
| 420 | #define EM_GETRECT 0x00b2 |
| 421 | #define EM_SETRECT 0x00b3 |
| 422 | #define EM_SETRECTNP 0x00b4 |
| 423 | #define EM_SCROLL 0x00b5 |
| 424 | #define EM_LINESCROLL 0x00b6 |
| 425 | #define EM_SCROLLCARET 0x00b7 |
| 426 | #define EM_GETMODIFY 0x00b8 |
| 427 | #define EM_SETMODIFY 0x00b9 |
| 428 | #define EM_GETLINECOUNT 0x00ba |
| 429 | #define EM_LINEINDEX 0x00bb |
| 430 | #define EM_SETHANDLE 0x00bc |
| 431 | #define EM_GETHANDLE 0x00bd |
| 432 | #define EM_GETTHUMB 0x00be |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 433 | /* FIXME : missing from specs 0x00bf and 0x00c0 */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 434 | #define EM_LINELENGTH 0x00c1 |
| 435 | #define EM_REPLACESEL 0x00c2 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 436 | /* FIXME : missing from specs 0x00c3 */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 437 | #define EM_GETLINE 0x00c4 |
| 438 | #define EM_LIMITTEXT 0x00c5 |
| 439 | #define EM_CANUNDO 0x00c6 |
| 440 | #define EM_UNDO 0x00c7 |
| 441 | #define EM_FMTLINES 0x00c8 |
| 442 | #define EM_LINEFROMCHAR 0x00c9 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 443 | /* FIXME : missing from specs 0x00ca */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 444 | #define EM_SETTABSTOPS 0x00cb |
| 445 | #define EM_SETPASSWORDCHAR 0x00cc |
| 446 | #define EM_EMPTYUNDOBUFFER 0x00cd |
| 447 | #define EM_GETFIRSTVISIBLELINE 0x00ce |
| 448 | #define EM_SETREADONLY 0x00cf |
| 449 | #define EM_SETWORDBREAKPROC 0x00d0 |
| 450 | #define EM_GETWORDBREAKPROC 0x00d1 |
| 451 | #define EM_GETPASSWORDCHAR 0x00d2 |
| 452 | #define EM_SETMARGINS 0x00d3 |
| 453 | #define EM_GETMARGINS 0x00d4 |
| 454 | #define EM_GETLIMITTEXT 0x00d5 |
| 455 | #define EM_POSFROMCHAR 0x00d6 |
| 456 | #define EM_CHARFROMPOS 0x00d7 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 457 | /* a name change since win95 */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 458 | #define EM_SETLIMITTEXT EM_LIMITTEXT |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 459 | |
| 460 | /* EDITWORDBREAKPROC code values */ |
| 461 | #define WB_LEFT 0 |
| 462 | #define WB_RIGHT 1 |
| 463 | #define WB_ISDELIMITER 2 |
| 464 | |
| 465 | /* Edit control notification codes */ |
| 466 | #define EN_SETFOCUS 0x0100 |
| 467 | #define EN_KILLFOCUS 0x0200 |
| 468 | #define EN_CHANGE 0x0300 |
| 469 | #define EN_UPDATE 0x0400 |
| 470 | #define EN_ERRSPACE 0x0500 |
| 471 | #define EN_MAXTEXT 0x0501 |
| 472 | #define EN_HSCROLL 0x0601 |
| 473 | #define EN_VSCROLL 0x0602 |
| 474 | |
| 475 | /* New since win95 : EM_SETMARGIN parameters */ |
| 476 | #define EC_LEFTMARGIN 0x0001 |
| 477 | #define EC_RIGHTMARGIN 0x0002 |
| 478 | #define EC_USEFONTINFO 0xffff |
| 479 | |
| 480 | |
| 481 | /* Messages */ |
| 482 | |
| 483 | /* WM_GETDLGCODE values */ |
| 484 | |
| 485 | |
| 486 | #define WM_NULL 0x0000 |
| 487 | #define WM_CREATE 0x0001 |
| 488 | #define WM_DESTROY 0x0002 |
| 489 | #define WM_MOVE 0x0003 |
| 490 | #define WM_SIZEWAIT 0x0004 |
| 491 | #define WM_SIZE 0x0005 |
| 492 | #define WM_ACTIVATE 0x0006 |
| 493 | #define WM_SETFOCUS 0x0007 |
| 494 | #define WM_KILLFOCUS 0x0008 |
| 495 | #define WM_SETVISIBLE 0x0009 |
| 496 | #define WM_ENABLE 0x000a |
| 497 | #define WM_SETREDRAW 0x000b |
| 498 | #define WM_SETTEXT 0x000c |
| 499 | #define WM_GETTEXT 0x000d |
| 500 | #define WM_GETTEXTLENGTH 0x000e |
| 501 | #define WM_PAINT 0x000f |
| 502 | #define WM_CLOSE 0x0010 |
| 503 | #define WM_QUERYENDSESSION 0x0011 |
| 504 | #define WM_QUIT 0x0012 |
| 505 | #define WM_QUERYOPEN 0x0013 |
| 506 | #define WM_ERASEBKGND 0x0014 |
| 507 | #define WM_SYSCOLORCHANGE 0x0015 |
| 508 | #define WM_ENDSESSION 0x0016 |
| 509 | #define WM_SYSTEMERROR 0x0017 |
| 510 | #define WM_SHOWWINDOW 0x0018 |
| 511 | #define WM_CTLCOLOR 0x0019 |
| 512 | #define WM_WININICHANGE 0x001a |
| 513 | #define WM_SETTINGCHANGE WM_WININICHANGE |
| 514 | #define WM_DEVMODECHANGE 0x001b |
| 515 | #define WM_ACTIVATEAPP 0x001c |
| 516 | #define WM_FONTCHANGE 0x001d |
| 517 | #define WM_TIMECHANGE 0x001e |
| 518 | #define WM_CANCELMODE 0x001f |
| 519 | #define WM_SETCURSOR 0x0020 |
| 520 | #define WM_MOUSEACTIVATE 0x0021 |
| 521 | #define WM_CHILDACTIVATE 0x0022 |
| 522 | #define WM_QUEUESYNC 0x0023 |
| 523 | #define WM_GETMINMAXINFO 0x0024 |
| 524 | |
| 525 | #define WM_PAINTICON 0x0026 |
| 526 | #define WM_ICONERASEBKGND 0x0027 |
| 527 | #define WM_NEXTDLGCTL 0x0028 |
| 528 | #define WM_ALTTABACTIVE 0x0029 |
| 529 | #define WM_SPOOLERSTATUS 0x002a |
| 530 | #define WM_DRAWITEM 0x002b |
| 531 | #define WM_MEASUREITEM 0x002c |
| 532 | #define WM_DELETEITEM 0x002d |
| 533 | #define WM_VKEYTOITEM 0x002e |
| 534 | #define WM_CHARTOITEM 0x002f |
| 535 | #define WM_SETFONT 0x0030 |
| 536 | #define WM_GETFONT 0x0031 |
| 537 | #define WM_SETHOTKEY 0x0032 |
| 538 | #define WM_GETHOTKEY 0x0033 |
| 539 | #define WM_FILESYSCHANGE 0x0034 |
| 540 | #define WM_ISACTIVEICON 0x0035 |
| 541 | #define WM_QUERYPARKICON 0x0036 |
| 542 | #define WM_QUERYDRAGICON 0x0037 |
| 543 | #define WM_QUERYSAVESTATE 0x0038 |
| 544 | #define WM_COMPAREITEM 0x0039 |
| 545 | #define WM_TESTING 0x003a |
| 546 | |
| 547 | #define WM_OTHERWINDOWCREATED 0x003c |
| 548 | #define WM_OTHERWINDOWDESTROYED 0x003d |
| 549 | #define WM_ACTIVATESHELLWINDOW 0x003e |
| 550 | |
| 551 | #define WM_COMPACTING 0x0041 |
| 552 | |
| 553 | #define WM_COMMNOTIFY 0x0044 |
| 554 | #define WM_WINDOWPOSCHANGING 0x0046 |
| 555 | #define WM_WINDOWPOSCHANGED 0x0047 |
| 556 | #define WM_POWER 0x0048 |
| 557 | |
| 558 | /* Win32 4.0 messages */ |
| 559 | #define WM_COPYDATA 0x004a |
| 560 | #define WM_CANCELJOURNAL 0x004b |
| 561 | #define WM_NOTIFY 0x004e |
| 562 | #define WM_HELP 0x0053 |
| 563 | #define WM_NOTIFYFORMAT 0x0055 |
| 564 | |
| 565 | #define WM_CONTEXTMENU 0x007b |
| 566 | #define WM_STYLECHANGING 0x007c |
| 567 | #define WM_STYLECHANGED 0x007d |
| 568 | #define WM_DISPLAYCHANGE 0x007e |
| 569 | #define WM_GETICON 0x007f |
| 570 | #define WM_SETICON 0x0080 |
| 571 | |
| 572 | /* Non-client system messages */ |
| 573 | #define WM_NCCREATE 0x0081 |
| 574 | #define WM_NCDESTROY 0x0082 |
| 575 | #define WM_NCCALCSIZE 0x0083 |
| 576 | #define WM_NCHITTEST 0x0084 |
| 577 | #define WM_NCPAINT 0x0085 |
| 578 | #define WM_NCACTIVATE 0x0086 |
| 579 | |
| 580 | #define WM_GETDLGCODE 0x0087 |
| 581 | #define WM_SYNCPAINT 0x0088 |
| 582 | #define WM_SYNCTASK 0x0089 |
| 583 | |
| 584 | /* Non-client mouse messages */ |
| 585 | #define WM_NCMOUSEMOVE 0x00a0 |
| 586 | #define WM_NCLBUTTONDOWN 0x00a1 |
| 587 | #define WM_NCLBUTTONUP 0x00a2 |
| 588 | #define WM_NCLBUTTONDBLCLK 0x00a3 |
| 589 | #define WM_NCRBUTTONDOWN 0x00a4 |
| 590 | #define WM_NCRBUTTONUP 0x00a5 |
| 591 | #define WM_NCRBUTTONDBLCLK 0x00a6 |
| 592 | #define WM_NCMBUTTONDOWN 0x00a7 |
| 593 | #define WM_NCMBUTTONUP 0x00a8 |
| 594 | #define WM_NCMBUTTONDBLCLK 0x00a9 |
| 595 | |
| 596 | /* Keyboard messages */ |
| 597 | #define WM_KEYDOWN 0x0100 |
| 598 | #define WM_KEYUP 0x0101 |
| 599 | #define WM_CHAR 0x0102 |
| 600 | #define WM_DEADCHAR 0x0103 |
| 601 | #define WM_SYSKEYDOWN 0x0104 |
| 602 | #define WM_SYSKEYUP 0x0105 |
| 603 | #define WM_SYSCHAR 0x0106 |
| 604 | #define WM_SYSDEADCHAR 0x0107 |
| 605 | #define WM_KEYFIRST WM_KEYDOWN |
| 606 | #define WM_KEYLAST 0x0108 |
| 607 | |
| 608 | #define WM_INITDIALOG 0x0110 |
| 609 | #define WM_COMMAND 0x0111 |
| 610 | #define WM_SYSCOMMAND 0x0112 |
| 611 | #define WM_TIMER 0x0113 |
| 612 | #define WM_SYSTIMER 0x0118 |
| 613 | |
| 614 | /* scroll messages */ |
| 615 | #define WM_HSCROLL 0x0114 |
| 616 | #define WM_VSCROLL 0x0115 |
| 617 | |
| 618 | /* Menu messages */ |
| 619 | #define WM_INITMENU 0x0116 |
| 620 | #define WM_INITMENUPOPUP 0x0117 |
| 621 | |
| 622 | #define WM_MENUSELECT 0x011F |
| 623 | #define WM_MENUCHAR 0x0120 |
| 624 | #define WM_ENTERIDLE 0x0121 |
| 625 | |
| 626 | #define WM_LBTRACKPOINT 0x0131 |
| 627 | |
| 628 | /* Win32 CTLCOLOR messages */ |
| 629 | #define WM_CTLCOLORMSGBOX 0x0132 |
| 630 | #define WM_CTLCOLOREDIT 0x0133 |
| 631 | #define WM_CTLCOLORLISTBOX 0x0134 |
| 632 | #define WM_CTLCOLORBTN 0x0135 |
| 633 | #define WM_CTLCOLORDLG 0x0136 |
| 634 | #define WM_CTLCOLORSCROLLBAR 0x0137 |
| 635 | #define WM_CTLCOLORSTATIC 0x0138 |
| 636 | |
| 637 | /* Mouse messages */ |
| 638 | #define WM_MOUSEMOVE 0x0200 |
| 639 | #define WM_LBUTTONDOWN 0x0201 |
| 640 | #define WM_LBUTTONUP 0x0202 |
| 641 | #define WM_LBUTTONDBLCLK 0x0203 |
| 642 | #define WM_RBUTTONDOWN 0x0204 |
| 643 | #define WM_RBUTTONUP 0x0205 |
| 644 | #define WM_RBUTTONDBLCLK 0x0206 |
| 645 | #define WM_MBUTTONDOWN 0x0207 |
| 646 | #define WM_MBUTTONUP 0x0208 |
| 647 | #define WM_MBUTTONDBLCLK 0x0209 |
| 648 | #define WM_MOUSEFIRST WM_MOUSEMOVE |
| 649 | #define WM_MOUSELAST WM_MBUTTONDBLCLK |
| 650 | |
| 651 | #define WM_PARENTNOTIFY 0x0210 |
| 652 | #define WM_ENTERMENULOOP 0x0211 |
| 653 | #define WM_EXITMENULOOP 0x0212 |
| 654 | #define WM_NEXTMENU 0x0213 |
| 655 | |
| 656 | /* Win32 4.0 messages */ |
| 657 | #define WM_SIZING 0x0214 |
| 658 | #define WM_CAPTURECHANGED 0x0215 |
| 659 | #define WM_MOVING 0x0216 |
| 660 | |
| 661 | /* MDI messages */ |
| 662 | #define WM_MDICREATE 0x0220 |
| 663 | #define WM_MDIDESTROY 0x0221 |
| 664 | #define WM_MDIACTIVATE 0x0222 |
| 665 | #define WM_MDIRESTORE 0x0223 |
| 666 | #define WM_MDINEXT 0x0224 |
| 667 | #define WM_MDIMAXIMIZE 0x0225 |
| 668 | #define WM_MDITILE 0x0226 |
| 669 | #define WM_MDICASCADE 0x0227 |
| 670 | #define WM_MDIICONARRANGE 0x0228 |
| 671 | #define WM_MDIGETACTIVE 0x0229 |
| 672 | #define WM_MDIREFRESHMENU 0x0234 |
| 673 | |
| 674 | /* D&D messages */ |
| 675 | #define WM_DROPOBJECT 0x022A |
| 676 | #define WM_QUERYDROPOBJECT 0x022B |
| 677 | #define WM_BEGINDRAG 0x022C |
| 678 | #define WM_DRAGLOOP 0x022D |
| 679 | #define WM_DRAGSELECT 0x022E |
| 680 | #define WM_DRAGMOVE 0x022F |
| 681 | #define WM_MDISETMENU 0x0230 |
| 682 | |
| 683 | #define WM_ENTERSIZEMOVE 0x0231 |
| 684 | #define WM_EXITSIZEMOVE 0x0232 |
| 685 | #define WM_DROPFILES 0x0233 |
| 686 | |
| 687 | #define WM_CUT 0x0300 |
| 688 | #define WM_COPY 0x0301 |
| 689 | #define WM_PASTE 0x0302 |
| 690 | #define WM_CLEAR 0x0303 |
| 691 | #define WM_UNDO 0x0304 |
| 692 | #define WM_RENDERFORMAT 0x0305 |
| 693 | #define WM_RENDERALLFORMATS 0x0306 |
| 694 | #define WM_DESTROYCLIPBOARD 0x0307 |
| 695 | #define WM_DRAWCLIPBOARD 0x0308 |
| 696 | #define WM_PAINTCLIPBOARD 0x0309 |
| 697 | #define WM_VSCROLLCLIPBOARD 0x030A |
| 698 | #define WM_SIZECLIPBOARD 0x030B |
| 699 | #define WM_ASKCBFORMATNAME 0x030C |
| 700 | #define WM_CHANGECBCHAIN 0x030D |
| 701 | #define WM_HSCROLLCLIPBOARD 0x030E |
| 702 | #define WM_QUERYNEWPALETTE 0x030F |
| 703 | #define WM_PALETTEISCHANGING 0x0310 |
| 704 | #define WM_PALETTECHANGED 0x0311 |
| 705 | #define WM_HOTKEY 0x0312 |
| 706 | |
| 707 | #define WM_PRINT 0x0317 |
| 708 | #define WM_PRINTCLIENT 0x0318 |
| 709 | |
| 710 | /* FIXME: This does not belong to any libwine interface header */ |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 711 | /* MFC messages [360-38f] */ |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 712 | |
| 713 | #define WM_QUERYAFXWNDPROC 0x0360 |
| 714 | #define WM_SIZEPARENT 0x0361 |
| 715 | #define WM_SETMESSAGESTRING 0x0362 |
| 716 | #define WM_IDLEUPDATECMDUI 0x0363 |
| 717 | #define WM_INITIALUPDATE 0x0364 |
| 718 | #define WM_COMMANDHELP 0x0365 |
| 719 | #define WM_HELPHITTEST 0x0366 |
| 720 | #define WM_EXITHELPMODE 0x0367 |
| 721 | #define WM_RECALCPARENT 0x0368 |
| 722 | #define WM_SIZECHILD 0x0369 |
| 723 | #define WM_KICKIDLE 0x036A |
| 724 | #define WM_QUERYCENTERWND 0x036B |
| 725 | #define WM_DISABLEMODAL 0x036C |
| 726 | #define WM_FLOATSTATUS 0x036D |
| 727 | #define WM_ACTIVATETOPLEVEL 0x036E |
| 728 | #define WM_QUERY3DCONTROLS 0x036F |
| 729 | #define WM_SOCKET_NOTIFY 0x0373 |
| 730 | #define WM_SOCKET_DEAD 0x0374 |
| 731 | #define WM_POPMESSAGESTRING 0x0375 |
| 732 | #define WM_OCC_LOADFROMSTREAM 0x0376 |
| 733 | #define WM_OCC_LOADFROMSTORAGE 0x0377 |
| 734 | #define WM_OCC_INITNEW 0x0378 |
| 735 | #define WM_OCC_LOADFROMSTREAM_EX 0x037A |
| 736 | #define WM_OCC_LOADFROMSTORAGE_EX 0x037B |
| 737 | #define WM_QUEUE_SENTINEL 0x0379 |
| 738 | |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 739 | #define WM_PENWINFIRST 0x0380 |
| 740 | #define WM_PENWINLAST 0x038F |
| 741 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 742 | /* end of MFC messages */ |
| 743 | |
| 744 | /* FIXME: This does not belong to any libwine interface header */ |
| 745 | #define WM_COALESCE_FIRST 0x0390 |
| 746 | #define WM_COALESCE_LAST 0x039F |
| 747 | |
| 748 | |
| 749 | |
| 750 | #define DLGC_WANTARROWS 0x0001 |
| 751 | #define DLGC_WANTTAB 0x0002 |
| 752 | #define DLGC_WANTALLKEYS 0x0004 |
| 753 | #define DLGC_WANTMESSAGE 0x0004 |
| 754 | #define DLGC_HASSETSEL 0x0008 |
| 755 | #define DLGC_DEFPUSHBUTTON 0x0010 |
| 756 | #define DLGC_UNDEFPUSHBUTTON 0x0020 |
| 757 | #define DLGC_RADIOBUTTON 0x0040 |
| 758 | #define DLGC_WANTCHARS 0x0080 |
| 759 | #define DLGC_STATIC 0x0100 |
| 760 | #define DLGC_BUTTON 0x2000 |
| 761 | |
| 762 | /* Standard dialog button IDs */ |
| 763 | #define IDOK 1 |
| 764 | #define IDCANCEL 2 |
| 765 | #define IDABORT 3 |
| 766 | #define IDRETRY 4 |
| 767 | #define IDIGNORE 5 |
| 768 | #define IDYES 6 |
| 769 | #define IDNO 7 |
| 770 | #define IDCLOSE 8 |
| 771 | #define IDHELP 9 |
| 772 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 773 | /****** Window classes ******/ |
| 774 | |
Veksler Michael | e94e354 | 1999-03-22 12:41:26 +0000 | [diff] [blame] | 775 | typedef struct tagCREATESTRUCTA |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 776 | { |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 777 | LPVOID lpCreateParams; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 778 | HINSTANCE hInstance; |
| 779 | HMENU hMenu; |
| 780 | HWND hwndParent; |
| 781 | INT cy; |
| 782 | INT cx; |
| 783 | INT y; |
| 784 | INT x; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 785 | LONG style; |
| 786 | LPCSTR lpszName; |
| 787 | LPCSTR lpszClass; |
| 788 | DWORD dwExStyle; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 789 | } CREATESTRUCTA, *LPCREATESTRUCTA; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 790 | |
| 791 | typedef struct |
| 792 | { |
| 793 | LPVOID lpCreateParams; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 794 | HINSTANCE hInstance; |
| 795 | HMENU hMenu; |
| 796 | HWND hwndParent; |
| 797 | INT cy; |
| 798 | INT cx; |
| 799 | INT y; |
| 800 | INT x; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 801 | LONG style; |
| 802 | LPCWSTR lpszName; |
| 803 | LPCWSTR lpszClass; |
| 804 | DWORD dwExStyle; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 805 | } CREATESTRUCTW, *LPCREATESTRUCTW; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 806 | |
| 807 | DECL_WINELIB_TYPE_AW(CREATESTRUCT) |
| 808 | DECL_WINELIB_TYPE_AW(LPCREATESTRUCT) |
| 809 | |
Huw D M Davies | a9f55c4 | 1999-05-08 12:45:18 +0000 | [diff] [blame] | 810 | typedef struct |
| 811 | { |
| 812 | HDC hdc; |
| 813 | BOOL fErase; |
| 814 | RECT rcPaint; |
| 815 | BOOL fRestore; |
| 816 | BOOL fIncUpdate; |
| 817 | BYTE rgbReserved[32]; |
| 818 | } PAINTSTRUCT, *PPAINTSTRUCT, *LPPAINTSTRUCT; |
| 819 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 820 | typedef struct |
| 821 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 822 | HMENU hWindowMenu; |
| 823 | UINT idFirstChild; |
| 824 | } CLIENTCREATESTRUCT, *LPCLIENTCREATESTRUCT; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 825 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 826 | |
| 827 | typedef struct |
| 828 | { |
| 829 | LPCSTR szClass; |
| 830 | LPCSTR szTitle; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 831 | HINSTANCE hOwner; |
| 832 | INT x; |
| 833 | INT y; |
| 834 | INT cx; |
| 835 | INT cy; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 836 | DWORD style; |
| 837 | LPARAM lParam; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 838 | } MDICREATESTRUCTA, *LPMDICREATESTRUCTA; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 839 | |
| 840 | typedef struct |
| 841 | { |
| 842 | LPCWSTR szClass; |
| 843 | LPCWSTR szTitle; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 844 | HINSTANCE hOwner; |
| 845 | INT x; |
| 846 | INT y; |
| 847 | INT cx; |
| 848 | INT cy; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 849 | DWORD style; |
| 850 | LPARAM lParam; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 851 | } MDICREATESTRUCTW, *LPMDICREATESTRUCTW; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 852 | |
| 853 | DECL_WINELIB_TYPE_AW(MDICREATESTRUCT) |
| 854 | DECL_WINELIB_TYPE_AW(LPMDICREATESTRUCT) |
| 855 | |
| 856 | #define MDITILE_VERTICAL 0x0000 |
| 857 | #define MDITILE_HORIZONTAL 0x0001 |
| 858 | #define MDITILE_SKIPDISABLED 0x0002 |
| 859 | |
| 860 | #define MDIS_ALLCHILDSTYLES 0x0001 |
| 861 | |
| 862 | typedef struct { |
| 863 | DWORD styleOld; |
| 864 | DWORD styleNew; |
| 865 | } STYLESTRUCT, *LPSTYLESTRUCT; |
| 866 | |
| 867 | /* Offsets for GetWindowLong() and GetWindowWord() */ |
| 868 | #define GWL_USERDATA (-21) |
| 869 | #define GWL_EXSTYLE (-20) |
| 870 | #define GWL_STYLE (-16) |
| 871 | #define GWW_ID (-12) |
| 872 | #define GWL_ID GWW_ID |
| 873 | #define GWW_HWNDPARENT (-8) |
| 874 | #define GWL_HWNDPARENT GWW_HWNDPARENT |
| 875 | #define GWW_HINSTANCE (-6) |
| 876 | #define GWL_HINSTANCE GWW_HINSTANCE |
| 877 | #define GWL_WNDPROC (-4) |
| 878 | #define DWL_MSGRESULT 0 |
| 879 | #define DWL_DLGPROC 4 |
| 880 | #define DWL_USER 8 |
| 881 | |
| 882 | /* GetWindow() constants */ |
| 883 | #define GW_HWNDFIRST 0 |
| 884 | #define GW_HWNDLAST 1 |
| 885 | #define GW_HWNDNEXT 2 |
| 886 | #define GW_HWNDPREV 3 |
| 887 | #define GW_OWNER 4 |
| 888 | #define GW_CHILD 5 |
| 889 | |
| 890 | /* WM_GETMINMAXINFO struct */ |
| 891 | typedef struct |
| 892 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 893 | POINT ptReserved; |
| 894 | POINT ptMaxSize; |
| 895 | POINT ptMaxPosition; |
| 896 | POINT ptMinTrackSize; |
| 897 | POINT ptMaxTrackSize; |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 898 | } MINMAXINFO, *PMINMAXINFO, *LPMINMAXINFO; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 899 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 900 | |
| 901 | /* RedrawWindow() flags */ |
| 902 | #define RDW_INVALIDATE 0x0001 |
| 903 | #define RDW_INTERNALPAINT 0x0002 |
| 904 | #define RDW_ERASE 0x0004 |
| 905 | #define RDW_VALIDATE 0x0008 |
| 906 | #define RDW_NOINTERNALPAINT 0x0010 |
| 907 | #define RDW_NOERASE 0x0020 |
| 908 | #define RDW_NOCHILDREN 0x0040 |
| 909 | #define RDW_ALLCHILDREN 0x0080 |
| 910 | #define RDW_UPDATENOW 0x0100 |
| 911 | #define RDW_ERASENOW 0x0200 |
| 912 | #define RDW_FRAME 0x0400 |
| 913 | #define RDW_NOFRAME 0x0800 |
| 914 | |
| 915 | /* debug flags */ |
| 916 | #define DBGFILL_ALLOC 0xfd |
| 917 | #define DBGFILL_FREE 0xfb |
| 918 | #define DBGFILL_BUFFER 0xf9 |
| 919 | #define DBGFILL_STACK 0xf7 |
| 920 | |
| 921 | /* WM_WINDOWPOSCHANGING/CHANGED struct */ |
Veksler Michael | e94e354 | 1999-03-22 12:41:26 +0000 | [diff] [blame] | 922 | typedef struct tagWINDOWPOS |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 923 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 924 | HWND hwnd; |
| 925 | HWND hwndInsertAfter; |
| 926 | INT x; |
| 927 | INT y; |
| 928 | INT cx; |
| 929 | INT cy; |
| 930 | UINT flags; |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 931 | } WINDOWPOS, *PWINDOWPOS, *LPWINDOWPOS; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 932 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 933 | |
| 934 | /* WM_MOUSEACTIVATE return values */ |
| 935 | #define MA_ACTIVATE 1 |
| 936 | #define MA_ACTIVATEANDEAT 2 |
| 937 | #define MA_NOACTIVATE 3 |
| 938 | #define MA_NOACTIVATEANDEAT 4 |
| 939 | |
| 940 | /* WM_ACTIVATE wParam values */ |
| 941 | #define WA_INACTIVE 0 |
| 942 | #define WA_ACTIVE 1 |
| 943 | #define WA_CLICKACTIVE 2 |
| 944 | |
| 945 | /* WM_NCCALCSIZE parameter structure */ |
| 946 | typedef struct |
| 947 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 948 | RECT rgrc[3]; |
| 949 | WINDOWPOS *lppos; |
| 950 | } NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 951 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 952 | |
| 953 | /* WM_NCCALCSIZE return flags */ |
| 954 | #define WVR_ALIGNTOP 0x0010 |
| 955 | #define WVR_ALIGNLEFT 0x0020 |
| 956 | #define WVR_ALIGNBOTTOM 0x0040 |
| 957 | #define WVR_ALIGNRIGHT 0x0080 |
| 958 | #define WVR_HREDRAW 0x0100 |
| 959 | #define WVR_VREDRAW 0x0200 |
| 960 | #define WVR_REDRAW (WVR_HREDRAW | WVR_VREDRAW) |
| 961 | #define WVR_VALIDRECTS 0x0400 |
| 962 | |
| 963 | /* WM_NCHITTEST return codes */ |
| 964 | #define HTERROR (-2) |
| 965 | #define HTTRANSPARENT (-1) |
| 966 | #define HTNOWHERE 0 |
| 967 | #define HTCLIENT 1 |
| 968 | #define HTCAPTION 2 |
| 969 | #define HTSYSMENU 3 |
| 970 | #define HTSIZE 4 |
| 971 | #define HTMENU 5 |
| 972 | #define HTHSCROLL 6 |
| 973 | #define HTVSCROLL 7 |
| 974 | #define HTMINBUTTON 8 |
| 975 | #define HTMAXBUTTON 9 |
| 976 | #define HTLEFT 10 |
| 977 | #define HTRIGHT 11 |
| 978 | #define HTTOP 12 |
| 979 | #define HTTOPLEFT 13 |
| 980 | #define HTTOPRIGHT 14 |
| 981 | #define HTBOTTOM 15 |
| 982 | #define HTBOTTOMLEFT 16 |
| 983 | #define HTBOTTOMRIGHT 17 |
| 984 | #define HTBORDER 18 |
| 985 | #define HTGROWBOX HTSIZE |
| 986 | #define HTREDUCE HTMINBUTTON |
| 987 | #define HTZOOM HTMAXBUTTON |
| 988 | #define HTOBJECT 19 |
| 989 | #define HTCLOSE 20 |
| 990 | #define HTHELP 21 |
| 991 | #define HTSIZEFIRST HTLEFT |
| 992 | #define HTSIZELAST HTBOTTOMRIGHT |
| 993 | |
| 994 | /* WM_SYSCOMMAND parameters */ |
| 995 | #ifdef SC_SIZE /* at least HP-UX: already defined in /usr/include/sys/signal.h */ |
| 996 | #undef SC_SIZE |
| 997 | #endif |
| 998 | #define SC_SIZE 0xf000 |
| 999 | #define SC_MOVE 0xf010 |
| 1000 | #define SC_MINIMIZE 0xf020 |
| 1001 | #define SC_MAXIMIZE 0xf030 |
| 1002 | #define SC_NEXTWINDOW 0xf040 |
| 1003 | #define SC_PREVWINDOW 0xf050 |
| 1004 | #define SC_CLOSE 0xf060 |
| 1005 | #define SC_VSCROLL 0xf070 |
| 1006 | #define SC_HSCROLL 0xf080 |
| 1007 | #define SC_MOUSEMENU 0xf090 |
| 1008 | #define SC_KEYMENU 0xf100 |
| 1009 | #define SC_ARRANGE 0xf110 |
| 1010 | #define SC_RESTORE 0xf120 |
| 1011 | #define SC_TASKLIST 0xf130 |
| 1012 | #define SC_SCREENSAVE 0xf140 |
| 1013 | #define SC_HOTKEY 0xf150 |
| 1014 | |
| 1015 | #define CS_VREDRAW 0x0001 |
| 1016 | #define CS_HREDRAW 0x0002 |
| 1017 | #define CS_KEYCVTWINDOW 0x0004 |
| 1018 | #define CS_DBLCLKS 0x0008 |
| 1019 | #define CS_OWNDC 0x0020 |
| 1020 | #define CS_CLASSDC 0x0040 |
| 1021 | #define CS_PARENTDC 0x0080 |
| 1022 | #define CS_NOKEYCVT 0x0100 |
| 1023 | #define CS_NOCLOSE 0x0200 |
| 1024 | #define CS_SAVEBITS 0x0800 |
| 1025 | #define CS_BYTEALIGNCLIENT 0x1000 |
| 1026 | #define CS_BYTEALIGNWINDOW 0x2000 |
| 1027 | #define CS_GLOBALCLASS 0x4000 |
Paul Quinn | aaa8306 | 1999-06-05 15:23:20 +0000 | [diff] [blame] | 1028 | #define CS_IME 0x00010000 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1029 | |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 1030 | #define PRF_CHECKVISIBLE 0x00000001L |
| 1031 | #define PRF_NONCLIENT 0x00000002L |
| 1032 | #define PRF_CLIENT 0x00000004L |
| 1033 | #define PRF_ERASEBKGND 0x00000008L |
| 1034 | #define PRF_CHILDREN 0x00000010L |
| 1035 | #define PRF_OWNED 0x00000020L |
| 1036 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1037 | /* Offsets for GetClassLong() and GetClassWord() */ |
| 1038 | #define GCL_MENUNAME (-8) |
| 1039 | #define GCW_HBRBACKGROUND (-10) |
| 1040 | #define GCL_HBRBACKGROUND GCW_HBRBACKGROUND |
| 1041 | #define GCW_HCURSOR (-12) |
| 1042 | #define GCL_HCURSOR GCW_HCURSOR |
| 1043 | #define GCW_HICON (-14) |
| 1044 | #define GCL_HICON GCW_HICON |
| 1045 | #define GCW_HMODULE (-16) |
| 1046 | #define GCL_HMODULE GCW_HMODULE |
| 1047 | #define GCW_CBWNDEXTRA (-18) |
| 1048 | #define GCL_CBWNDEXTRA GCW_CBWNDEXTRA |
| 1049 | #define GCW_CBCLSEXTRA (-20) |
| 1050 | #define GCL_CBCLSEXTRA GCW_CBCLSEXTRA |
| 1051 | #define GCL_WNDPROC (-24) |
| 1052 | #define GCW_STYLE (-26) |
| 1053 | #define GCL_STYLE GCW_STYLE |
| 1054 | #define GCW_ATOM (-32) |
| 1055 | #define GCW_HICONSM (-34) |
| 1056 | #define GCL_HICONSM GCW_HICONSM |
| 1057 | |
| 1058 | #ifndef NOWINOFFSETS |
| 1059 | #define GCW_HBRBACKGROUND (-10) |
| 1060 | #endif |
| 1061 | |
| 1062 | |
| 1063 | /***** Window hooks *****/ |
| 1064 | |
| 1065 | /* Hook values */ |
| 1066 | #define WH_MIN (-1) |
| 1067 | #define WH_MSGFILTER (-1) |
| 1068 | #define WH_JOURNALRECORD 0 |
| 1069 | #define WH_JOURNALPLAYBACK 1 |
| 1070 | #define WH_KEYBOARD 2 |
| 1071 | #define WH_GETMESSAGE 3 |
| 1072 | #define WH_CALLWNDPROC 4 |
| 1073 | #define WH_CBT 5 |
| 1074 | #define WH_SYSMSGFILTER 6 |
| 1075 | #define WH_MOUSE 7 |
| 1076 | #define WH_HARDWARE 8 |
| 1077 | #define WH_DEBUG 9 |
| 1078 | #define WH_SHELL 10 |
| 1079 | #define WH_FOREGROUNDIDLE 11 |
| 1080 | #define WH_CALLWNDPROCRET 12 |
| 1081 | #define WH_MAX 12 |
| 1082 | |
| 1083 | #define WH_MINHOOK WH_MIN |
| 1084 | #define WH_MAXHOOK WH_MAX |
| 1085 | #define WH_NB_HOOKS (WH_MAXHOOK-WH_MINHOOK+1) |
| 1086 | |
| 1087 | /* Hook action codes */ |
| 1088 | #define HC_ACTION 0 |
| 1089 | #define HC_GETNEXT 1 |
| 1090 | #define HC_SKIP 2 |
| 1091 | #define HC_NOREMOVE 3 |
| 1092 | #define HC_NOREM HC_NOREMOVE |
| 1093 | #define HC_SYSMODALON 4 |
| 1094 | #define HC_SYSMODALOFF 5 |
| 1095 | |
| 1096 | /* CallMsgFilter() values */ |
| 1097 | #define MSGF_DIALOGBOX 0 |
| 1098 | #define MSGF_MESSAGEBOX 1 |
| 1099 | #define MSGF_MENU 2 |
| 1100 | #define MSGF_MOVE 3 |
| 1101 | #define MSGF_SIZE 4 |
| 1102 | #define MSGF_SCROLLBAR 5 |
| 1103 | #define MSGF_NEXTWINDOW 6 |
| 1104 | #define MSGF_MAINLOOP 8 |
| 1105 | #define MSGF_USER 4096 |
| 1106 | |
| 1107 | typedef struct |
| 1108 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1109 | UINT style; |
| 1110 | WNDPROC lpfnWndProc; |
| 1111 | INT cbClsExtra; |
| 1112 | INT cbWndExtra; |
| 1113 | HINSTANCE hInstance; |
| 1114 | HICON hIcon; |
| 1115 | HCURSOR hCursor; |
| 1116 | HBRUSH hbrBackground; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1117 | LPCSTR lpszMenuName; |
| 1118 | LPCSTR lpszClassName; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1119 | } WNDCLASSA, *LPWNDCLASSA; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1120 | |
| 1121 | typedef struct |
| 1122 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1123 | UINT style; |
| 1124 | WNDPROC lpfnWndProc; |
| 1125 | INT cbClsExtra; |
| 1126 | INT cbWndExtra; |
| 1127 | HINSTANCE hInstance; |
| 1128 | HICON hIcon; |
| 1129 | HCURSOR hCursor; |
| 1130 | HBRUSH hbrBackground; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1131 | LPCWSTR lpszMenuName; |
| 1132 | LPCWSTR lpszClassName; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1133 | } WNDCLASSW, *LPWNDCLASSW; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1134 | |
| 1135 | DECL_WINELIB_TYPE_AW(WNDCLASS) |
| 1136 | DECL_WINELIB_TYPE_AW(LPWNDCLASS) |
| 1137 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1138 | typedef struct { |
| 1139 | DWORD dwData; |
| 1140 | DWORD cbData; |
| 1141 | LPVOID lpData; |
| 1142 | } COPYDATASTRUCT, *PCOPYDATASTRUCT, *LPCOPYDATASTRUCT; |
| 1143 | |
| 1144 | typedef struct { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1145 | HMENU hmenuIn; |
| 1146 | HMENU hmenuNext; |
| 1147 | HWND hwndNext; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1148 | } MDINEXTMENU, *PMDINEXTMENU, *LPMDINEXTMENU; |
| 1149 | |
| 1150 | /* WinHelp internal structure */ |
| 1151 | typedef struct { |
| 1152 | WORD size; |
| 1153 | WORD command; |
| 1154 | LONG data; |
| 1155 | LONG reserved; |
| 1156 | WORD ofsFilename; |
| 1157 | WORD ofsData; |
| 1158 | } WINHELP,*LPWINHELP; |
| 1159 | |
| 1160 | typedef struct |
| 1161 | { |
| 1162 | UINT16 mkSize; |
| 1163 | BYTE mkKeyList; |
| 1164 | BYTE szKeyPhrase[1]; |
| 1165 | } MULTIKEYHELP, *LPMULTIKEYHELP; |
| 1166 | |
| 1167 | typedef struct { |
| 1168 | WORD wStructSize; |
| 1169 | WORD x; |
| 1170 | WORD y; |
| 1171 | WORD dx; |
| 1172 | WORD dy; |
| 1173 | WORD wMax; |
| 1174 | char rgchMember[2]; |
| 1175 | } HELPWININFO, *LPHELPWININFO; |
| 1176 | |
| 1177 | #define HELP_CONTEXT 0x0001 |
| 1178 | #define HELP_QUIT 0x0002 |
| 1179 | #define HELP_INDEX 0x0003 |
| 1180 | #define HELP_CONTENTS 0x0003 |
| 1181 | #define HELP_HELPONHELP 0x0004 |
| 1182 | #define HELP_SETINDEX 0x0005 |
| 1183 | #define HELP_SETCONTENTS 0x0005 |
| 1184 | #define HELP_CONTEXTPOPUP 0x0008 |
| 1185 | #define HELP_FORCEFILE 0x0009 |
| 1186 | #define HELP_KEY 0x0101 |
| 1187 | #define HELP_COMMAND 0x0102 |
| 1188 | #define HELP_PARTIALKEY 0x0105 |
| 1189 | #define HELP_MULTIKEY 0x0201 |
| 1190 | #define HELP_SETWINPOS 0x0203 |
| 1191 | #define HELP_CONTEXTMENU 0x000a |
| 1192 | #define HELP_FINDER 0x000b |
| 1193 | #define HELP_WM_HELP 0x000c |
| 1194 | #define HELP_SETPOPUP_POS 0x000d |
| 1195 | |
| 1196 | #define HELP_TCARD 0x8000 |
| 1197 | #define HELP_TCARD_DATA 0x0010 |
| 1198 | #define HELP_TCARD_OTHER_CALLER 0x0011 |
| 1199 | |
| 1200 | |
| 1201 | /* ChangeDisplaySettings return codes */ |
| 1202 | |
| 1203 | #define DISP_CHANGE_SUCCESSFUL 0 |
| 1204 | #define DISP_CHANGE_RESTART 1 |
| 1205 | #define DISP_CHANGE_FAILED (-1) |
| 1206 | #define DISP_CHANGE_BADMODE (-2) |
| 1207 | #define DISP_CHANGE_NOTUPDATED (-3) |
| 1208 | #define DISP_CHANGE_BADFLAGS (-4) |
| 1209 | |
| 1210 | /* flags to FormatMessage */ |
| 1211 | #define FORMAT_MESSAGE_ALLOCATE_BUFFER 0x00000100 |
| 1212 | #define FORMAT_MESSAGE_IGNORE_INSERTS 0x00000200 |
| 1213 | #define FORMAT_MESSAGE_FROM_STRING 0x00000400 |
| 1214 | #define FORMAT_MESSAGE_FROM_HMODULE 0x00000800 |
| 1215 | #define FORMAT_MESSAGE_FROM_SYSTEM 0x00001000 |
| 1216 | #define FORMAT_MESSAGE_ARGUMENT_ARRAY 0x00002000 |
| 1217 | #define FORMAT_MESSAGE_MAX_WIDTH_MASK 0x000000FF |
| 1218 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1219 | typedef struct |
| 1220 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1221 | UINT cbSize; |
| 1222 | UINT style; |
| 1223 | WNDPROC lpfnWndProc; |
| 1224 | INT cbClsExtra; |
| 1225 | INT cbWndExtra; |
| 1226 | HINSTANCE hInstance; |
| 1227 | HICON hIcon; |
| 1228 | HCURSOR hCursor; |
| 1229 | HBRUSH hbrBackground; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1230 | LPCSTR lpszMenuName; |
| 1231 | LPCSTR lpszClassName; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1232 | HICON hIconSm; |
| 1233 | } WNDCLASSEXA, *LPWNDCLASSEXA; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1234 | |
| 1235 | typedef struct |
| 1236 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1237 | UINT cbSize; |
| 1238 | UINT style; |
| 1239 | WNDPROC lpfnWndProc; |
| 1240 | INT cbClsExtra; |
| 1241 | INT cbWndExtra; |
| 1242 | HINSTANCE hInstance; |
| 1243 | HICON hIcon; |
| 1244 | HCURSOR hCursor; |
| 1245 | HBRUSH hbrBackground; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1246 | LPCWSTR lpszMenuName; |
| 1247 | LPCWSTR lpszClassName; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1248 | HICON hIconSm; |
| 1249 | } WNDCLASSEXW, *LPWNDCLASSEXW; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1250 | |
| 1251 | DECL_WINELIB_TYPE_AW(WNDCLASSEX) |
| 1252 | DECL_WINELIB_TYPE_AW(LPWNDCLASSEX) |
| 1253 | |
| 1254 | typedef struct |
| 1255 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1256 | HWND hwnd; |
| 1257 | UINT message; |
| 1258 | WPARAM wParam; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1259 | LPARAM lParam; |
| 1260 | DWORD time; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1261 | POINT pt; |
| 1262 | } MSG, *LPMSG; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1263 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1264 | |
| 1265 | /* Cursors / Icons */ |
| 1266 | |
| 1267 | typedef struct { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1268 | BOOL fIcon; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1269 | DWORD xHotspot; |
| 1270 | DWORD yHotspot; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1271 | HBITMAP hbmMask; |
| 1272 | HBITMAP hbmColor; |
| 1273 | } ICONINFO,*LPICONINFO; |
Marcus Meissner | ffb912e | 1999-01-28 09:14:38 +0000 | [diff] [blame] | 1274 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1275 | |
Marcus Meissner | 688c565 | 1999-01-22 17:09:46 +0000 | [diff] [blame] | 1276 | /* this is the 6 byte accel struct used in Win32 when presented to the user */ |
| 1277 | typedef struct |
| 1278 | { |
| 1279 | BYTE fVirt; |
| 1280 | BYTE pad0; |
| 1281 | WORD key; |
| 1282 | WORD cmd; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1283 | } ACCEL, *LPACCEL; |
Marcus Meissner | 688c565 | 1999-01-22 17:09:46 +0000 | [diff] [blame] | 1284 | |
| 1285 | /* this is the 8 byte accel struct used in Win32 resources (internal only) */ |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1286 | typedef struct |
| 1287 | { |
| 1288 | BYTE fVirt; |
| 1289 | BYTE pad0; |
| 1290 | WORD key; |
| 1291 | WORD cmd; |
| 1292 | WORD pad1; |
Marcus Meissner | 688c565 | 1999-01-22 17:09:46 +0000 | [diff] [blame] | 1293 | } PE_ACCEL, *LPPE_ACCEL; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1294 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1295 | |
| 1296 | /* Flags for TrackPopupMenu */ |
| 1297 | #define TPM_LEFTBUTTON 0x0000 |
| 1298 | #define TPM_RIGHTBUTTON 0x0002 |
| 1299 | #define TPM_LEFTALIGN 0x0000 |
| 1300 | #define TPM_CENTERALIGN 0x0004 |
| 1301 | #define TPM_RIGHTALIGN 0x0008 |
| 1302 | #define TPM_TOPALIGN 0x0000 |
| 1303 | #define TPM_VCENTERALIGN 0x0010 |
| 1304 | #define TPM_BOTTOMALIGN 0x0020 |
| 1305 | #define TPM_HORIZONTAL 0x0000 |
| 1306 | #define TPM_VERTICAL 0x0040 |
| 1307 | #define TPM_NONOTIFY 0x0080 |
| 1308 | #define TPM_RETURNCMD 0x0100 |
| 1309 | |
| 1310 | typedef struct |
| 1311 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1312 | UINT cbSize; |
| 1313 | RECT rcExclude; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1314 | } TPMPARAMS, *LPTPMPARAMS; |
| 1315 | |
| 1316 | /* FIXME: not sure this one is correct */ |
| 1317 | typedef struct { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1318 | UINT cbSize; |
| 1319 | UINT fMask; |
| 1320 | UINT fType; |
| 1321 | UINT fState; |
| 1322 | UINT wID; |
| 1323 | HMENU hSubMenu; |
| 1324 | HBITMAP hbmpChecked; |
| 1325 | HBITMAP hbmpUnchecked; |
Juergen Schmied | 7851394 | 1999-04-18 14:40:32 +0000 | [diff] [blame] | 1326 | DWORD dwItemData; |
| 1327 | LPSTR dwTypeData; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1328 | UINT cch; |
Juergen Schmied | 7851394 | 1999-04-18 14:40:32 +0000 | [diff] [blame] | 1329 | HBITMAP hbmpItem; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1330 | } MENUITEMINFOA, *LPMENUITEMINFOA; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1331 | |
| 1332 | typedef struct { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1333 | UINT cbSize; |
| 1334 | UINT fMask; |
| 1335 | UINT fType; |
| 1336 | UINT fState; |
| 1337 | UINT wID; |
| 1338 | HMENU hSubMenu; |
| 1339 | HBITMAP hbmpChecked; |
| 1340 | HBITMAP hbmpUnchecked; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1341 | DWORD dwItemData; |
| 1342 | LPWSTR dwTypeData; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1343 | UINT cch; |
Juergen Schmied | 7851394 | 1999-04-18 14:40:32 +0000 | [diff] [blame] | 1344 | HBITMAP hbmpItem; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1345 | } MENUITEMINFOW, *LPMENUITEMINFOW; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1346 | |
| 1347 | DECL_WINELIB_TYPE_AW(MENUITEMINFO) |
| 1348 | DECL_WINELIB_TYPE_AW(LPMENUITEMINFO) |
| 1349 | |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 1350 | typedef struct { |
Juergen Schmied | 7851394 | 1999-04-18 14:40:32 +0000 | [diff] [blame] | 1351 | DWORD cbSize; |
| 1352 | DWORD fMask; |
| 1353 | DWORD dwStyle; |
| 1354 | UINT cyMax; |
| 1355 | HBRUSH hbrBack; |
| 1356 | DWORD dwContextHelpID; |
| 1357 | DWORD dwMenuData; |
| 1358 | } MENUINFO, *LPMENUINFO; |
| 1359 | |
| 1360 | typedef MENUINFO const * LPCMENUINFO; |
| 1361 | |
| 1362 | #define MIM_MAXHEIGHT 0x00000001 |
| 1363 | #define MIM_BACKGROUND 0x00000002 |
| 1364 | #define MIM_HELPID 0x00000004 |
| 1365 | #define MIM_MENUDATA 0x00000008 |
| 1366 | #define MIM_STYLE 0x00000010 |
| 1367 | #define MIM_APPLYTOSUBMENUS 0x80000000 |
| 1368 | |
| 1369 | typedef struct { |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 1370 | WORD versionNumber; |
| 1371 | WORD offset; |
| 1372 | } MENUITEMTEMPLATEHEADER, *PMENUITEMTEMPLATEHEADER; |
| 1373 | |
| 1374 | |
| 1375 | typedef struct { |
| 1376 | WORD mtOption; |
| 1377 | WORD mtID; |
| 1378 | WCHAR mtString[1]; |
| 1379 | } MENUITEMTEMPLATE, *PMENUITEMTEMPLATE; |
| 1380 | |
| 1381 | |
| 1382 | typedef VOID MENUTEMPLATE; |
| 1383 | typedef PVOID *LPMENUTEMPLATE; |
| 1384 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1385 | /* Field specifiers for MENUITEMINFO[AW] type. */ |
| 1386 | #define MIIM_STATE 0x00000001 |
| 1387 | #define MIIM_ID 0x00000002 |
| 1388 | #define MIIM_SUBMENU 0x00000004 |
| 1389 | #define MIIM_CHECKMARKS 0x00000008 |
| 1390 | #define MIIM_TYPE 0x00000010 |
| 1391 | #define MIIM_DATA 0x00000020 |
Juergen Schmied | 7851394 | 1999-04-18 14:40:32 +0000 | [diff] [blame] | 1392 | #define MIIM_STRING 0x00000040 |
| 1393 | #define MIIM_BITMAP 0x00000080 |
| 1394 | #define MIIM_FTYPE 0x00000100 |
| 1395 | |
| 1396 | #define HBMMENU_CALLBACK ((HBITMAP) -1) |
| 1397 | #define HBMMENU_SYSTEM ((HBITMAP) 1) |
| 1398 | #define HBMMENU_MBAR_RESTORE ((HBITMAP) 2) |
| 1399 | #define HBMMENU_MBAR_MINIMIZE ((HBITMAP) 3) |
| 1400 | #define HBMMENU_MBAR_CLOSE ((HBITMAP) 5) |
| 1401 | #define HBMMENU_MBAR_CLOSE_D ((HBITMAP) 6) |
| 1402 | #define HBMMENU_MBAR_MINIMIZE_D ((HBITMAP) 7) |
| 1403 | #define HBMMENU_POPUP_CLOSE ((HBITMAP) 8) |
| 1404 | #define HBMMENU_POPUP_RESTORE ((HBITMAP) 9) |
| 1405 | #define HBMMENU_POPUP_MAXIMIZE ((HBITMAP) 10) |
| 1406 | #define HBMMENU_POPUP_MINIMIZE ((HBITMAP) 11) |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1407 | |
| 1408 | /* DrawState defines ... */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1409 | typedef BOOL (CALLBACK *DRAWSTATEPROC)(HDC,LPARAM,WPARAM,INT,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1410 | |
| 1411 | /* WM_H/VSCROLL commands */ |
| 1412 | #define SB_LINEUP 0 |
| 1413 | #define SB_LINELEFT 0 |
| 1414 | #define SB_LINEDOWN 1 |
| 1415 | #define SB_LINERIGHT 1 |
| 1416 | #define SB_PAGEUP 2 |
| 1417 | #define SB_PAGELEFT 2 |
| 1418 | #define SB_PAGEDOWN 3 |
| 1419 | #define SB_PAGERIGHT 3 |
| 1420 | #define SB_THUMBPOSITION 4 |
| 1421 | #define SB_THUMBTRACK 5 |
| 1422 | #define SB_TOP 6 |
| 1423 | #define SB_LEFT 6 |
| 1424 | #define SB_BOTTOM 7 |
| 1425 | #define SB_RIGHT 7 |
| 1426 | #define SB_ENDSCROLL 8 |
| 1427 | |
| 1428 | /* Scroll bar selection constants */ |
| 1429 | #define SB_HORZ 0 |
| 1430 | #define SB_VERT 1 |
| 1431 | #define SB_CTL 2 |
| 1432 | #define SB_BOTH 3 |
| 1433 | |
| 1434 | /* Scrollbar styles */ |
| 1435 | #define SBS_HORZ 0x0000L |
| 1436 | #define SBS_VERT 0x0001L |
| 1437 | #define SBS_TOPALIGN 0x0002L |
| 1438 | #define SBS_LEFTALIGN 0x0002L |
| 1439 | #define SBS_BOTTOMALIGN 0x0004L |
| 1440 | #define SBS_RIGHTALIGN 0x0004L |
| 1441 | #define SBS_SIZEBOXTOPLEFTALIGN 0x0002L |
| 1442 | #define SBS_SIZEBOXBOTTOMRIGHTALIGN 0x0004L |
| 1443 | #define SBS_SIZEBOX 0x0008L |
Alexandre Julliard | 8da12c4 | 1999-01-17 16:55:11 +0000 | [diff] [blame] | 1444 | #define SBS_SIZEGRIP 0x0010L |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1445 | |
| 1446 | /* EnableScrollBar() flags */ |
| 1447 | #define ESB_ENABLE_BOTH 0x0000 |
| 1448 | #define ESB_DISABLE_BOTH 0x0003 |
| 1449 | |
| 1450 | #define ESB_DISABLE_LEFT 0x0001 |
| 1451 | #define ESB_DISABLE_RIGHT 0x0002 |
| 1452 | |
| 1453 | #define ESB_DISABLE_UP 0x0001 |
| 1454 | #define ESB_DISABLE_DOWN 0x0002 |
| 1455 | |
| 1456 | #define ESB_DISABLE_LTUP ESB_DISABLE_LEFT |
| 1457 | #define ESB_DISABLE_RTDN ESB_DISABLE_RIGHT |
| 1458 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1459 | /* Win32 button control messages */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1460 | #define BM_GETCHECK 0x00f0 |
| 1461 | #define BM_SETCHECK 0x00f1 |
| 1462 | #define BM_GETSTATE 0x00f2 |
| 1463 | #define BM_SETSTATE 0x00f3 |
| 1464 | #define BM_SETSTYLE 0x00f4 |
| 1465 | #define BM_CLICK 0x00f5 |
| 1466 | #define BM_GETIMAGE 0x00f6 |
| 1467 | #define BM_SETIMAGE 0x00f7 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1468 | /* Winelib button control messages */ |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1469 | |
| 1470 | /* Button notification codes */ |
| 1471 | #define BN_CLICKED 0 |
| 1472 | #define BN_PAINT 1 |
| 1473 | #define BN_HILITE 2 |
| 1474 | #define BN_UNHILITE 3 |
| 1475 | #define BN_DISABLE 4 |
| 1476 | #define BN_DOUBLECLICKED 5 |
| 1477 | |
Klaas van Gend | 691606e | 1999-02-28 19:40:54 +0000 | [diff] [blame] | 1478 | /* Button states */ |
| 1479 | #define BST_UNCHECKED 0x0000 |
| 1480 | #define BST_CHECKED 0x0001 |
| 1481 | #define BST_INDETERMINATE 0x0002 |
| 1482 | #define BST_PUSHED 0x0004 |
| 1483 | #define BST_FOCUS 0x0008 |
| 1484 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1485 | /* Static Control Styles */ |
| 1486 | #define SS_LEFT 0x00000000L |
| 1487 | #define SS_CENTER 0x00000001L |
| 1488 | #define SS_RIGHT 0x00000002L |
| 1489 | #define SS_ICON 0x00000003L |
| 1490 | #define SS_BLACKRECT 0x00000004L |
| 1491 | #define SS_GRAYRECT 0x00000005L |
| 1492 | #define SS_WHITERECT 0x00000006L |
| 1493 | #define SS_BLACKFRAME 0x00000007L |
| 1494 | #define SS_GRAYFRAME 0x00000008L |
| 1495 | #define SS_WHITEFRAME 0x00000009L |
| 1496 | |
| 1497 | #define SS_SIMPLE 0x0000000BL |
| 1498 | #define SS_LEFTNOWORDWRAP 0x0000000CL |
| 1499 | |
| 1500 | #define SS_OWNERDRAW 0x0000000DL |
| 1501 | #define SS_BITMAP 0x0000000EL |
| 1502 | #define SS_ENHMETAFILE 0x0000000FL |
| 1503 | |
| 1504 | #define SS_ETCHEDHORZ 0x00000010L |
| 1505 | #define SS_ETCHEDVERT 0x00000011L |
| 1506 | #define SS_ETCHEDFRAME 0x00000012L |
| 1507 | #define SS_TYPEMASK 0x0000001FL |
| 1508 | |
| 1509 | #define SS_NOPREFIX 0x00000080L |
| 1510 | #define SS_NOTIFY 0x00000100L |
| 1511 | #define SS_CENTERIMAGE 0x00000200L |
| 1512 | #define SS_RIGHTJUST 0x00000400L |
| 1513 | #define SS_REALSIZEIMAGE 0x00000800L |
| 1514 | #define SS_SUNKEN 0x00001000L |
| 1515 | |
| 1516 | /* Static Control Messages */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1517 | #define STM_SETICON 0x0170 |
| 1518 | #define STM_GETICON 0x0171 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1519 | #define STM_SETIMAGE 0x0172 |
| 1520 | #define STM_GETIMAGE 0x0173 |
| 1521 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1522 | /* Scrollbar messages */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1523 | #define SBM_SETPOS 0x00e0 |
| 1524 | #define SBM_GETPOS 0x00e1 |
| 1525 | #define SBM_SETRANGE 0x00e2 |
| 1526 | #define SBM_GETRANGE 0x00e3 |
| 1527 | #define SBM_ENABLE_ARROWS 0x00e4 |
| 1528 | #define SBM_SETRANGEREDRAW 0x00e6 |
| 1529 | #define SBM_SETSCROLLINFO 0x00e9 |
| 1530 | #define SBM_GETSCROLLINFO 0x00ea |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1531 | |
| 1532 | /* Scrollbar info */ |
| 1533 | typedef struct |
| 1534 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1535 | UINT cbSize; |
| 1536 | UINT fMask; |
| 1537 | INT nMin; |
| 1538 | INT nMax; |
| 1539 | UINT nPage; |
| 1540 | INT nPos; |
| 1541 | INT nTrackPos; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1542 | } SCROLLINFO, *LPSCROLLINFO; |
| 1543 | |
| 1544 | /* GetScrollInfo() flags */ |
| 1545 | #define SIF_RANGE 0x0001 |
| 1546 | #define SIF_PAGE 0x0002 |
| 1547 | #define SIF_POS 0x0004 |
| 1548 | #define SIF_DISABLENOSCROLL 0x0008 |
| 1549 | #define SIF_TRACKPOS 0x0010 |
| 1550 | #define SIF_ALL (SIF_RANGE | SIF_PAGE | SIF_POS | SIF_TRACKPOS) |
| 1551 | |
| 1552 | /* Listbox styles */ |
| 1553 | #define LBS_NOTIFY 0x0001 |
| 1554 | #define LBS_SORT 0x0002 |
| 1555 | #define LBS_NOREDRAW 0x0004 |
| 1556 | #define LBS_MULTIPLESEL 0x0008 |
| 1557 | #define LBS_OWNERDRAWFIXED 0x0010 |
| 1558 | #define LBS_OWNERDRAWVARIABLE 0x0020 |
| 1559 | #define LBS_HASSTRINGS 0x0040 |
| 1560 | #define LBS_USETABSTOPS 0x0080 |
| 1561 | #define LBS_NOINTEGRALHEIGHT 0x0100 |
| 1562 | #define LBS_MULTICOLUMN 0x0200 |
| 1563 | #define LBS_WANTKEYBOARDINPUT 0x0400 |
| 1564 | #define LBS_EXTENDEDSEL 0x0800 |
| 1565 | #define LBS_DISABLENOSCROLL 0x1000 |
| 1566 | #define LBS_NODATA 0x2000 |
| 1567 | #define LBS_NOSEL 0x4000 |
| 1568 | #define LBS_STANDARD (LBS_NOTIFY | LBS_SORT | WS_VSCROLL | WS_BORDER) |
| 1569 | |
| 1570 | /* Listbox messages */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1571 | #define LB_ADDSTRING 0x0180 |
| 1572 | #define LB_INSERTSTRING 0x0181 |
| 1573 | #define LB_DELETESTRING 0x0182 |
| 1574 | #define LB_SELITEMRANGEEX 0x0183 |
| 1575 | #define LB_RESETCONTENT 0x0184 |
| 1576 | #define LB_SETSEL 0x0185 |
| 1577 | #define LB_SETCURSEL 0x0186 |
| 1578 | #define LB_GETSEL 0x0187 |
| 1579 | #define LB_GETCURSEL 0x0188 |
| 1580 | #define LB_GETTEXT 0x0189 |
| 1581 | #define LB_GETTEXTLEN 0x018a |
| 1582 | #define LB_GETCOUNT 0x018b |
| 1583 | #define LB_SELECTSTRING 0x018c |
| 1584 | #define LB_DIR 0x018d |
| 1585 | #define LB_GETTOPINDEX 0x018e |
| 1586 | #define LB_FINDSTRING 0x018f |
| 1587 | #define LB_GETSELCOUNT 0x0190 |
| 1588 | #define LB_GETSELITEMS 0x0191 |
| 1589 | #define LB_SETTABSTOPS 0x0192 |
| 1590 | #define LB_GETHORIZONTALEXTENT 0x0193 |
| 1591 | #define LB_SETHORIZONTALEXTENT 0x0194 |
| 1592 | #define LB_SETCOLUMNWIDTH 0x0195 |
| 1593 | #define LB_ADDFILE 0x0196 |
| 1594 | #define LB_SETTOPINDEX 0x0197 |
| 1595 | #define LB_GETITEMRECT 0x0198 |
| 1596 | #define LB_GETITEMDATA 0x0199 |
| 1597 | #define LB_SETITEMDATA 0x019a |
| 1598 | #define LB_SELITEMRANGE 0x019b |
| 1599 | #define LB_SETANCHORINDEX 0x019c |
| 1600 | #define LB_GETANCHORINDEX 0x019d |
| 1601 | #define LB_SETCARETINDEX 0x019e |
| 1602 | #define LB_GETCARETINDEX 0x019f |
| 1603 | #define LB_SETITEMHEIGHT 0x01a0 |
| 1604 | #define LB_GETITEMHEIGHT 0x01a1 |
| 1605 | #define LB_FINDSTRINGEXACT 0x01a2 |
| 1606 | #define LB_CARETON 0x01a3 |
| 1607 | #define LB_CARETOFF 0x01a4 |
| 1608 | #define LB_SETLOCALE 0x01a5 |
| 1609 | #define LB_GETLOCALE 0x01a6 |
| 1610 | #define LB_SETCOUNT 0x01a7 |
| 1611 | #define LB_INITSTORAGE 0x01a8 |
| 1612 | #define LB_ITEMFROMPOINT 0x01a9 |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1613 | |
| 1614 | /* Listbox notification codes */ |
| 1615 | #define LBN_ERRSPACE (-2) |
| 1616 | #define LBN_SELCHANGE 1 |
| 1617 | #define LBN_DBLCLK 2 |
| 1618 | #define LBN_SELCANCEL 3 |
| 1619 | #define LBN_SETFOCUS 4 |
| 1620 | #define LBN_KILLFOCUS 5 |
| 1621 | |
| 1622 | /* Listbox message return values */ |
| 1623 | #define LB_OKAY 0 |
| 1624 | #define LB_ERR (-1) |
| 1625 | #define LB_ERRSPACE (-2) |
| 1626 | |
| 1627 | #define LB_CTLCODE 0L |
| 1628 | |
| 1629 | /* Combo box styles */ |
| 1630 | #define CBS_SIMPLE 0x0001L |
| 1631 | #define CBS_DROPDOWN 0x0002L |
| 1632 | #define CBS_DROPDOWNLIST 0x0003L |
| 1633 | #define CBS_OWNERDRAWFIXED 0x0010L |
| 1634 | #define CBS_OWNERDRAWVARIABLE 0x0020L |
| 1635 | #define CBS_AUTOHSCROLL 0x0040L |
| 1636 | #define CBS_OEMCONVERT 0x0080L |
| 1637 | #define CBS_SORT 0x0100L |
| 1638 | #define CBS_HASSTRINGS 0x0200L |
| 1639 | #define CBS_NOINTEGRALHEIGHT 0x0400L |
| 1640 | #define CBS_DISABLENOSCROLL 0x0800L |
| 1641 | |
| 1642 | #define CBS_UPPERCASE 0x2000L |
| 1643 | #define CBS_LOWERCASE 0x4000L |
| 1644 | |
| 1645 | |
| 1646 | /* Combo box messages */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1647 | #define CB_GETEDITSEL 0x0140 |
| 1648 | #define CB_LIMITTEXT 0x0141 |
| 1649 | #define CB_SETEDITSEL 0x0142 |
| 1650 | #define CB_ADDSTRING 0x0143 |
| 1651 | #define CB_DELETESTRING 0x0144 |
| 1652 | #define CB_DIR 0x0145 |
| 1653 | #define CB_GETCOUNT 0x0146 |
| 1654 | #define CB_GETCURSEL 0x0147 |
| 1655 | #define CB_GETLBTEXT 0x0148 |
| 1656 | #define CB_GETLBTEXTLEN 0x0149 |
| 1657 | #define CB_INSERTSTRING 0x014a |
| 1658 | #define CB_RESETCONTENT 0x014b |
| 1659 | #define CB_FINDSTRING 0x014c |
| 1660 | #define CB_SELECTSTRING 0x014d |
| 1661 | #define CB_SETCURSEL 0x014e |
| 1662 | #define CB_SHOWDROPDOWN 0x014f |
| 1663 | #define CB_GETITEMDATA 0x0150 |
| 1664 | #define CB_SETITEMDATA 0x0151 |
| 1665 | #define CB_GETDROPPEDCONTROLRECT 0x0152 |
| 1666 | #define CB_SETITEMHEIGHT 0x0153 |
| 1667 | #define CB_GETITEMHEIGHT 0x0154 |
| 1668 | #define CB_SETEXTENDEDUI 0x0155 |
| 1669 | #define CB_GETEXTENDEDUI 0x0156 |
| 1670 | #define CB_GETDROPPEDSTATE 0x0157 |
| 1671 | #define CB_FINDSTRINGEXACT 0x0158 |
| 1672 | #define CB_SETLOCALE 0x0159 |
| 1673 | #define CB_GETLOCALE 0x015a |
| 1674 | #define CB_GETTOPINDEX 0x015b |
| 1675 | #define CB_SETTOPINDEX 0x015c |
| 1676 | #define CB_GETHORIZONTALEXTENT 0x015d |
| 1677 | #define CB_SETHORIZONTALEXTENT 0x015e |
| 1678 | #define CB_GETDROPPEDWIDTH 0x015f |
| 1679 | #define CB_SETDROPPEDWIDTH 0x0160 |
| 1680 | #define CB_INITSTORAGE 0x0161 |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1681 | |
| 1682 | /* Combo box notification codes */ |
| 1683 | #define CBN_ERRSPACE (-1) |
| 1684 | #define CBN_SELCHANGE 1 |
| 1685 | #define CBN_DBLCLK 2 |
| 1686 | #define CBN_SETFOCUS 3 |
| 1687 | #define CBN_KILLFOCUS 4 |
| 1688 | #define CBN_EDITCHANGE 5 |
| 1689 | #define CBN_EDITUPDATE 6 |
| 1690 | #define CBN_DROPDOWN 7 |
| 1691 | #define CBN_CLOSEUP 8 |
| 1692 | #define CBN_SELENDOK 9 |
| 1693 | #define CBN_SELENDCANCEL 10 |
| 1694 | |
| 1695 | /* Combo box message return values */ |
| 1696 | #define CB_OKAY 0 |
| 1697 | #define CB_ERR (-1) |
| 1698 | #define CB_ERRSPACE (-2) |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 1699 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1700 | #define MB_OK 0x00000000 |
| 1701 | #define MB_OKCANCEL 0x00000001 |
| 1702 | #define MB_ABORTRETRYIGNORE 0x00000002 |
| 1703 | #define MB_YESNOCANCEL 0x00000003 |
| 1704 | #define MB_YESNO 0x00000004 |
| 1705 | #define MB_RETRYCANCEL 0x00000005 |
| 1706 | #define MB_TYPEMASK 0x0000000F |
| 1707 | |
| 1708 | #define MB_ICONHAND 0x00000010 |
| 1709 | #define MB_ICONQUESTION 0x00000020 |
| 1710 | #define MB_ICONEXCLAMATION 0x00000030 |
| 1711 | #define MB_ICONASTERISK 0x00000040 |
| 1712 | #define MB_USERICON 0x00000080 |
| 1713 | #define MB_ICONMASK 0x000000F0 |
| 1714 | |
| 1715 | #define MB_ICONINFORMATION MB_ICONASTERISK |
| 1716 | #define MB_ICONSTOP MB_ICONHAND |
| 1717 | #define MB_ICONWARNING MB_ICONEXCLAMATION |
| 1718 | #define MB_ICONERROR MB_ICONHAND |
| 1719 | |
| 1720 | #define MB_DEFBUTTON1 0x00000000 |
| 1721 | #define MB_DEFBUTTON2 0x00000100 |
| 1722 | #define MB_DEFBUTTON3 0x00000200 |
| 1723 | #define MB_DEFBUTTON4 0x00000300 |
| 1724 | #define MB_DEFMASK 0x00000F00 |
| 1725 | |
| 1726 | #define MB_APPLMODAL 0x00000000 |
| 1727 | #define MB_SYSTEMMODAL 0x00001000 |
| 1728 | #define MB_TASKMODAL 0x00002000 |
| 1729 | #define MB_MODEMASK 0x00003000 |
| 1730 | |
| 1731 | #define MB_HELP 0x00004000 |
| 1732 | #define MB_NOFOCUS 0x00008000 |
| 1733 | #define MB_MISCMASK 0x0000C000 |
| 1734 | |
| 1735 | #define MB_SETFOREGROUND 0x00010000 |
| 1736 | #define MB_DEFAULT_DESKTOP_ONLY 0x00020000 |
| 1737 | #define MB_SERVICE_NOTIFICATION 0x00040000 |
| 1738 | #define MB_TOPMOST 0x00040000 |
| 1739 | #define MB_RIGHT 0x00080000 |
| 1740 | #define MB_RTLREADING 0x00100000 |
| 1741 | |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1742 | #define HELPINFO_WINDOW 0x0001 |
| 1743 | #define HELPINFO_MENUITEM 0x0002 |
Douglas Ridgway | db4d1c7 | 1999-02-15 15:24:20 +0000 | [diff] [blame] | 1744 | |
| 1745 | /* Structure pointed to by lParam of WM_HELP */ |
| 1746 | typedef struct |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1747 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1748 | UINT cbSize; /* Size in bytes of this struct */ |
| 1749 | INT iContextType; /* Either HELPINFO_WINDOW or HELPINFO_MENUITEM */ |
| 1750 | INT iCtrlId; /* Control Id or a Menu item Id. */ |
| 1751 | HANDLE hItemHandle; /* hWnd of control or hMenu. */ |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1752 | DWORD dwContextId; /* Context Id associated with this item */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1753 | POINT MousePos; /* Mouse Position in screen co-ordinates */ |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1754 | } HELPINFO,*LPHELPINFO; |
| 1755 | |
| 1756 | typedef void (CALLBACK *MSGBOXCALLBACK)(LPHELPINFO lpHelpInfo); |
| 1757 | |
| 1758 | typedef struct |
| 1759 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1760 | UINT cbSize; |
| 1761 | HWND hwndOwner; |
| 1762 | HINSTANCE hInstance; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1763 | LPCSTR lpszText; |
| 1764 | LPCSTR lpszCaption; |
| 1765 | DWORD dwStyle; |
| 1766 | LPCSTR lpszIcon; |
| 1767 | DWORD dwContextHelpId; |
| 1768 | MSGBOXCALLBACK lpfnMsgBoxCallback; |
| 1769 | DWORD dwLanguageId; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1770 | } MSGBOXPARAMSA,*LPMSGBOXPARAMSA; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1771 | |
| 1772 | typedef struct |
| 1773 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1774 | UINT cbSize; |
| 1775 | HWND hwndOwner; |
| 1776 | HINSTANCE hInstance; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1777 | LPCWSTR lpszText; |
| 1778 | LPCWSTR lpszCaption; |
| 1779 | DWORD dwStyle; |
| 1780 | LPCWSTR lpszIcon; |
| 1781 | DWORD dwContextHelpId; |
| 1782 | MSGBOXCALLBACK lpfnMsgBoxCallback; |
| 1783 | DWORD dwLanguageId; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1784 | } MSGBOXPARAMSW,*LPMSGBOXPARAMSW; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1785 | |
| 1786 | DECL_WINELIB_TYPE_AW(MSGBOXPARAMS) |
| 1787 | DECL_WINELIB_TYPE_AW(LPMSGBOXPARAMS) |
| 1788 | |
| 1789 | typedef struct _numberfmt32a { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1790 | UINT NumDigits; |
| 1791 | UINT LeadingZero; |
| 1792 | UINT Grouping; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1793 | LPCSTR lpDecimalSep; |
| 1794 | LPCSTR lpThousandSep; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1795 | UINT NegativeOrder; |
| 1796 | } NUMBERFMTA; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1797 | |
| 1798 | typedef struct _numberfmt32w { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1799 | UINT NumDigits; |
| 1800 | UINT LeadingZero; |
| 1801 | UINT Grouping; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1802 | LPCWSTR lpDecimalSep; |
| 1803 | LPCWSTR lpThousandSep; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1804 | UINT NegativeOrder; |
| 1805 | } NUMBERFMTW; |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 1806 | |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 1807 | #define MONITOR_DEFAULTTONULL 0x00000000 |
| 1808 | #define MONITOR_DEFAULTTOPRIMARY 0x00000001 |
| 1809 | #define MONITOR_DEFAULTTONEAREST 0x00000002 |
| 1810 | |
| 1811 | #define MONITORINFOF_PRIMARY 0x00000001 |
| 1812 | |
| 1813 | typedef struct tagMONITORINFO |
| 1814 | { |
| 1815 | DWORD cbSize; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1816 | RECT rcMonitor; |
| 1817 | RECT rcWork; |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 1818 | DWORD dwFlags; |
| 1819 | } MONITORINFO, *LPMONITORINFO; |
| 1820 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1821 | typedef struct tagMONITORINFOEXA |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 1822 | { |
| 1823 | MONITORINFO dummy; |
| 1824 | CHAR szDevice[CCHDEVICENAME]; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1825 | } MONITORINFOEXA, *LPMONITORINFOEXA; |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 1826 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1827 | typedef struct tagMONITORINFOEXW |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 1828 | { |
| 1829 | MONITORINFO dummy; |
| 1830 | WCHAR szDevice[CCHDEVICENAME]; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1831 | } MONITORINFOEXW, *LPMONITORINFOEXW; |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 1832 | |
| 1833 | DECL_WINELIB_TYPE_AW(MONITORINFOEX) |
| 1834 | DECL_WINELIB_TYPE_AW(LPMONITORINFOEX) |
| 1835 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1836 | typedef BOOL (CALLBACK *MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM); |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 1837 | |
Thuy Nguyen | 96d0359 | 1999-04-03 11:12:46 +0000 | [diff] [blame] | 1838 | /* FIXME: use this instead of LPCVOID for CreateDialogIndirectParam |
| 1839 | and DialogBoxIndirectParam */ |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1840 | typedef struct tagDLGTEMPLATE |
| 1841 | { |
| 1842 | DWORD style; |
| 1843 | DWORD dwExtendedStyle; |
| 1844 | WORD cdit; |
| 1845 | short x; |
| 1846 | short y; |
| 1847 | short cx; |
| 1848 | short cy; |
Bertho Stultiens | dbf9fba | 1999-03-13 17:09:13 +0000 | [diff] [blame] | 1849 | } DLGTEMPLATE; |
| 1850 | |
| 1851 | typedef DLGTEMPLATE *LPDLGTEMPLATEA; |
| 1852 | typedef DLGTEMPLATE *LPDLGTEMPLATEW; |
| 1853 | #define LPDLGTEMPLATE WINELIB_NAME_AW(LPDLGTEMPLATE) |
| 1854 | typedef const DLGTEMPLATE *LPCDLGTEMPLATEA; |
| 1855 | typedef const DLGTEMPLATE *LPCDLGTEMPLATEW; |
| 1856 | #define LPCDLGTEMPLATE WINELIB_NAME_AW(LPCDLGTEMPLATE) |
| 1857 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1858 | typedef struct tagDLGITEMTEMPLATE |
| 1859 | { |
| 1860 | DWORD style; |
| 1861 | DWORD dwExtendedStyle; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1862 | short x; |
| 1863 | short y; |
| 1864 | short cx; |
| 1865 | short cy; |
| 1866 | WORD id; |
Bertho Stultiens | dbf9fba | 1999-03-13 17:09:13 +0000 | [diff] [blame] | 1867 | } DLGITEMTEMPLATE; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1868 | |
Bertho Stultiens | dbf9fba | 1999-03-13 17:09:13 +0000 | [diff] [blame] | 1869 | typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEA; |
| 1870 | typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEW; |
| 1871 | #define LPDLGITEMTEMPLATE WINELIB_NAME_AW(LPDLGITEMTEMPLATE) |
| 1872 | typedef const DLGITEMTEMPLATE *LPCDLGITEMTEMPLATEA; |
| 1873 | typedef const DLGITEMTEMPLATE *LPCDLGITEMTEMPLATEW; |
| 1874 | #define LPCDLGITEMTEMPLATE WINELIB_NAME_AW(LPCDLGITEMTEMPLATE) |
| 1875 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1876 | |
| 1877 | /* CBT hook values */ |
| 1878 | #define HCBT_MOVESIZE 0 |
| 1879 | #define HCBT_MINMAX 1 |
| 1880 | #define HCBT_QS 2 |
| 1881 | #define HCBT_CREATEWND 3 |
| 1882 | #define HCBT_DESTROYWND 4 |
| 1883 | #define HCBT_ACTIVATE 5 |
| 1884 | #define HCBT_CLICKSKIPPED 6 |
| 1885 | #define HCBT_KEYSKIPPED 7 |
| 1886 | #define HCBT_SYSCOMMAND 8 |
| 1887 | #define HCBT_SETFOCUS 9 |
| 1888 | |
| 1889 | /* CBT hook structures */ |
| 1890 | |
| 1891 | typedef struct |
| 1892 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1893 | CREATESTRUCTA *lpcs; |
| 1894 | HWND hwndInsertAfter; |
| 1895 | } CBT_CREATEWNDA, *LPCBT_CREATEWNDA; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1896 | |
| 1897 | typedef struct |
| 1898 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1899 | CREATESTRUCTW *lpcs; |
| 1900 | HWND hwndInsertAfter; |
| 1901 | } CBT_CREATEWNDW, *LPCBT_CREATEWNDW; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1902 | |
| 1903 | DECL_WINELIB_TYPE_AW(CBT_CREATEWND) |
| 1904 | DECL_WINELIB_TYPE_AW(LPCBT_CREATEWND) |
| 1905 | |
| 1906 | typedef struct |
| 1907 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1908 | BOOL fMouse; |
| 1909 | HWND hWndActive; |
| 1910 | } CBTACTIVATESTRUCT, *LPCBTACTIVATESTRUCT; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1911 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1912 | |
| 1913 | /* modifiers for RegisterHotKey */ |
| 1914 | #define MOD_ALT 0x0001 |
| 1915 | #define MOD_CONTROL 0x0002 |
| 1916 | #define MOD_SHIFT 0x0004 |
| 1917 | #define MOD_WIN 0x0008 |
| 1918 | |
| 1919 | /* ids for RegisterHotKey */ |
| 1920 | #define IDHOT_SNAPWINDOW (-1) /* SHIFT-PRINTSCRN */ |
| 1921 | #define IDHOT_SNAPDESKTOP (-2) /* PRINTSCRN */ |
| 1922 | |
| 1923 | /* keybd_event flags */ |
| 1924 | #define KEYEVENTF_EXTENDEDKEY 0x0001 |
| 1925 | #define KEYEVENTF_KEYUP 0x0002 |
| 1926 | #define KEYEVENTF_WINE_FORCEEXTENDED 0x8000 |
| 1927 | |
| 1928 | /* mouse_event flags */ |
| 1929 | #define MOUSEEVENTF_MOVE 0x0001 |
| 1930 | #define MOUSEEVENTF_LEFTDOWN 0x0002 |
| 1931 | #define MOUSEEVENTF_LEFTUP 0x0004 |
| 1932 | #define MOUSEEVENTF_RIGHTDOWN 0x0008 |
| 1933 | #define MOUSEEVENTF_RIGHTUP 0x0010 |
| 1934 | #define MOUSEEVENTF_MIDDLEDOWN 0x0020 |
| 1935 | #define MOUSEEVENTF_MIDDLEUP 0x0040 |
| 1936 | #define MOUSEEVENTF_ABSOLUTE 0x8000 |
| 1937 | |
| 1938 | /* ExitWindows() flags */ |
| 1939 | #define EW_RESTARTWINDOWS 0x0042 |
| 1940 | #define EW_REBOOTSYSTEM 0x0043 |
| 1941 | #define EW_EXITANDEXECAPP 0x0044 |
| 1942 | |
| 1943 | /* ExitWindowsEx() flags */ |
| 1944 | #define EWX_LOGOFF 0 |
| 1945 | #define EWX_SHUTDOWN 1 |
| 1946 | #define EWX_REBOOT 2 |
| 1947 | #define EWX_FORCE 4 |
| 1948 | #define EWX_POWEROFF 8 |
| 1949 | |
| 1950 | /* SetLastErrorEx types */ |
| 1951 | #define SLE_ERROR 0x00000001 |
| 1952 | #define SLE_MINORERROR 0x00000002 |
| 1953 | #define SLE_WARNING 0x00000003 |
| 1954 | |
| 1955 | /* Predefined resources */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1956 | #define IDI_APPLICATIONA MAKEINTRESOURCEA(32512) |
| 1957 | #define IDI_APPLICATIONW MAKEINTRESOURCEW(32512) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1958 | #define IDI_APPLICATION WINELIB_NAME_AW(IDI_APPLICATION) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1959 | #define IDI_HANDA MAKEINTRESOURCEA(32513) |
| 1960 | #define IDI_HANDW MAKEINTRESOURCEW(32513) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1961 | #define IDI_HAND WINELIB_NAME_AW(IDI_HAND) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1962 | #define IDI_QUESTIONA MAKEINTRESOURCEA(32514) |
| 1963 | #define IDI_QUESTIONW MAKEINTRESOURCEW(32514) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1964 | #define IDI_QUESTION WINELIB_NAME_AW(IDI_QUESTION) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1965 | #define IDI_EXCLAMATIONA MAKEINTRESOURCEA(32515) |
| 1966 | #define IDI_EXCLAMATIONW MAKEINTRESOURCEW(32515) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1967 | #define IDI_EXCLAMATION WINELIB_NAME_AW(IDI_EXCLAMATION) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1968 | #define IDI_ASTERISKA MAKEINTRESOURCEA(32516) |
| 1969 | #define IDI_ASTERISKW MAKEINTRESOURCEW(32516) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1970 | #define IDI_ASTERISK WINELIB_NAME_AW(IDI_ASTERISK) |
| 1971 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1972 | #define IDC_BUMMERA MAKEINTRESOURCEA(100) |
| 1973 | #define IDC_BUMMERW MAKEINTRESOURCEW(100) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1974 | #define IDC_BUMMER WINELIB_NAME_AW(IDC_BUMMER) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1975 | #define IDC_ARROWA MAKEINTRESOURCEA(32512) |
| 1976 | #define IDC_ARROWW MAKEINTRESOURCEW(32512) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1977 | #define IDC_ARROW WINELIB_NAME_AW(IDC_ARROW) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1978 | #define IDC_IBEAMA MAKEINTRESOURCEA(32513) |
| 1979 | #define IDC_IBEAMW MAKEINTRESOURCEW(32513) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1980 | #define IDC_IBEAM WINELIB_NAME_AW(IDC_IBEAM) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1981 | #define IDC_WAITA MAKEINTRESOURCEA(32514) |
| 1982 | #define IDC_WAITW MAKEINTRESOURCEW(32514) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1983 | #define IDC_WAIT WINELIB_NAME_AW(IDC_WAIT) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1984 | #define IDC_CROSSA MAKEINTRESOURCEA(32515) |
| 1985 | #define IDC_CROSSW MAKEINTRESOURCEW(32515) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1986 | #define IDC_CROSS WINELIB_NAME_AW(IDC_CROSS) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1987 | #define IDC_UPARROWA MAKEINTRESOURCEA(32516) |
| 1988 | #define IDC_UPARROWW MAKEINTRESOURCEW(32516) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1989 | #define IDC_UPARROW WINELIB_NAME_AW(IDC_UPARROW) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1990 | #define IDC_SIZEA MAKEINTRESOURCEA(32640) |
| 1991 | #define IDC_SIZEW MAKEINTRESOURCEW(32640) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1992 | #define IDC_SIZE WINELIB_NAME_AW(IDC_SIZE) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1993 | #define IDC_ICONA MAKEINTRESOURCEA(32641) |
| 1994 | #define IDC_ICONW MAKEINTRESOURCEW(32641) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1995 | #define IDC_ICON WINELIB_NAME_AW(IDC_ICON) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1996 | #define IDC_SIZENWSEA MAKEINTRESOURCEA(32642) |
| 1997 | #define IDC_SIZENWSEW MAKEINTRESOURCEW(32642) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 1998 | #define IDC_SIZENWSE WINELIB_NAME_AW(IDC_SIZENWSE) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 1999 | #define IDC_SIZENESWA MAKEINTRESOURCEA(32643) |
| 2000 | #define IDC_SIZENESWW MAKEINTRESOURCEW(32643) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2001 | #define IDC_SIZENESW WINELIB_NAME_AW(IDC_SIZENESW) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2002 | #define IDC_SIZEWEA MAKEINTRESOURCEA(32644) |
| 2003 | #define IDC_SIZEWEW MAKEINTRESOURCEW(32644) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2004 | #define IDC_SIZEWE WINELIB_NAME_AW(IDC_SIZEWE) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2005 | #define IDC_SIZENSA MAKEINTRESOURCEA(32645) |
| 2006 | #define IDC_SIZENSW MAKEINTRESOURCEW(32645) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2007 | #define IDC_SIZENS WINELIB_NAME_AW(IDC_SIZENS) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2008 | #define IDC_SIZEALLA MAKEINTRESOURCEA(32646) |
| 2009 | #define IDC_SIZEALLW MAKEINTRESOURCEW(32646) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2010 | #define IDC_SIZEALL WINELIB_NAME_AW(IDC_SIZEALL) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2011 | #define IDC_NOA MAKEINTRESOURCEA(32648) |
| 2012 | #define IDC_NOW MAKEINTRESOURCEW(32648) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2013 | #define IDC_NO WINELIB_NAME_AW(IDC_NO) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2014 | #define IDC_APPSTARTINGA MAKEINTRESOURCEA(32650) |
| 2015 | #define IDC_APPSTARTINGW MAKEINTRESOURCEW(32650) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2016 | #define IDC_APPSTARTING WINELIB_NAME_AW(IDC_APPSTARTING) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2017 | #define IDC_HELPA MAKEINTRESOURCEA(32651) |
| 2018 | #define IDC_HELPW MAKEINTRESOURCEW(32651) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2019 | #define IDC_HELP WINELIB_NAME_AW(IDC_HELP) |
| 2020 | |
| 2021 | /* SystemParametersInfo */ |
| 2022 | /* defines below are for all win versions */ |
| 2023 | #define SPI_GETBEEP 1 |
| 2024 | #define SPI_SETBEEP 2 |
| 2025 | #define SPI_GETMOUSE 3 |
| 2026 | #define SPI_SETMOUSE 4 |
| 2027 | #define SPI_GETBORDER 5 |
| 2028 | #define SPI_SETBORDER 6 |
| 2029 | #define SPI_GETKEYBOARDSPEED 10 |
| 2030 | #define SPI_SETKEYBOARDSPEED 11 |
| 2031 | #define SPI_LANGDRIVER 12 |
| 2032 | #define SPI_ICONHORIZONTALSPACING 13 |
| 2033 | #define SPI_GETSCREENSAVETIMEOUT 14 |
| 2034 | #define SPI_SETSCREENSAVETIMEOUT 15 |
| 2035 | #define SPI_GETSCREENSAVEACTIVE 16 |
| 2036 | #define SPI_SETSCREENSAVEACTIVE 17 |
| 2037 | #define SPI_GETGRIDGRANULARITY 18 |
| 2038 | #define SPI_SETGRIDGRANULARITY 19 |
| 2039 | #define SPI_SETDESKWALLPAPER 20 |
| 2040 | #define SPI_SETDESKPATTERN 21 |
| 2041 | #define SPI_GETKEYBOARDDELAY 22 |
| 2042 | #define SPI_SETKEYBOARDDELAY 23 |
| 2043 | #define SPI_ICONVERTICALSPACING 24 |
| 2044 | #define SPI_GETICONTITLEWRAP 25 |
| 2045 | #define SPI_SETICONTITLEWRAP 26 |
| 2046 | #define SPI_GETMENUDROPALIGNMENT 27 |
| 2047 | #define SPI_SETMENUDROPALIGNMENT 28 |
| 2048 | #define SPI_SETDOUBLECLKWIDTH 29 |
| 2049 | #define SPI_SETDOUBLECLKHEIGHT 30 |
| 2050 | #define SPI_GETICONTITLELOGFONT 31 |
| 2051 | #define SPI_SETDOUBLECLICKTIME 32 |
| 2052 | #define SPI_SETMOUSEBUTTONSWAP 33 |
| 2053 | #define SPI_SETICONTITLELOGFONT 34 |
| 2054 | #define SPI_GETFASTTASKSWITCH 35 |
| 2055 | #define SPI_SETFASTTASKSWITCH 36 |
| 2056 | #define SPI_SETDRAGFULLWINDOWS 37 |
| 2057 | #define SPI_GETDRAGFULLWINDOWS 38 |
| 2058 | |
| 2059 | #define SPI_GETFILTERKEYS 50 |
| 2060 | #define SPI_SETFILTERKEYS 51 |
| 2061 | #define SPI_GETTOGGLEKEYS 52 |
| 2062 | #define SPI_SETTOGGLEKEYS 53 |
| 2063 | #define SPI_GETMOUSEKEYS 54 |
| 2064 | #define SPI_SETMOUSEKEYS 55 |
| 2065 | #define SPI_GETSHOWSOUNDS 56 |
| 2066 | #define SPI_SETSHOWSOUNDS 57 |
| 2067 | #define SPI_GETSTICKYKEYS 58 |
| 2068 | #define SPI_SETSTICKYKEYS 59 |
| 2069 | #define SPI_GETACCESSTIMEOUT 60 |
| 2070 | #define SPI_SETACCESSTIMEOUT 61 |
| 2071 | |
| 2072 | #define SPI_GETSOUNDSENTRY 64 |
| 2073 | #define SPI_SETSOUNDSENTRY 65 |
| 2074 | |
| 2075 | /* defines below are for all win versions WINVER >= 0x0400 */ |
| 2076 | #define SPI_SETDRAGFULLWINDOWS 37 |
| 2077 | #define SPI_GETDRAGFULLWINDOWS 38 |
| 2078 | #define SPI_GETNONCLIENTMETRICS 41 |
| 2079 | #define SPI_SETNONCLIENTMETRICS 42 |
| 2080 | #define SPI_GETMINIMIZEDMETRICS 43 |
| 2081 | #define SPI_SETMINIMIZEDMETRICS 44 |
| 2082 | #define SPI_GETICONMETRICS 45 |
| 2083 | #define SPI_SETICONMETRICS 46 |
| 2084 | #define SPI_SETWORKAREA 47 |
| 2085 | #define SPI_GETWORKAREA 48 |
| 2086 | #define SPI_SETPENWINDOWS 49 |
| 2087 | |
| 2088 | #define SPI_GETSERIALKEYS 62 |
| 2089 | #define SPI_SETSERIALKEYS 63 |
| 2090 | #define SPI_GETHIGHCONTRAST 66 |
| 2091 | #define SPI_SETHIGHCONTRAST 67 |
| 2092 | #define SPI_GETKEYBOARDPREF 68 |
| 2093 | #define SPI_SETKEYBOARDPREF 69 |
| 2094 | #define SPI_GETSCREENREADER 70 |
| 2095 | #define SPI_SETSCREENREADER 71 |
| 2096 | #define SPI_GETANIMATION 72 |
| 2097 | #define SPI_SETANIMATION 73 |
| 2098 | #define SPI_GETFONTSMOOTHING 74 |
| 2099 | #define SPI_SETFONTSMOOTHING 75 |
| 2100 | #define SPI_SETDRAGWIDTH 76 |
| 2101 | #define SPI_SETDRAGHEIGHT 77 |
| 2102 | #define SPI_SETHANDHELD 78 |
| 2103 | #define SPI_GETLOWPOWERTIMEOUT 79 |
| 2104 | #define SPI_GETPOWEROFFTIMEOUT 80 |
| 2105 | #define SPI_SETLOWPOWERTIMEOUT 81 |
| 2106 | #define SPI_SETPOWEROFFTIMEOUT 82 |
| 2107 | #define SPI_GETLOWPOWERACTIVE 83 |
| 2108 | #define SPI_GETPOWEROFFACTIVE 84 |
| 2109 | #define SPI_SETLOWPOWERACTIVE 85 |
| 2110 | #define SPI_SETPOWEROFFACTIVE 86 |
| 2111 | #define SPI_SETCURSORS 87 |
| 2112 | #define SPI_SETICONS 88 |
| 2113 | #define SPI_GETDEFAULTINPUTLANG 89 |
| 2114 | #define SPI_SETDEFAULTINPUTLANG 90 |
| 2115 | #define SPI_SETLANGTOGGLE 91 |
| 2116 | #define SPI_GETWINDOWSEXTENSION 92 |
| 2117 | #define SPI_SETMOUSETRAILS 93 |
| 2118 | #define SPI_GETMOUSETRAILS 94 |
| 2119 | #define SPI_SETSCREENSAVERRUNNING 97 |
| 2120 | #define SPI_SCREENSAVERRUNNING SPI_SETSCREENSAVERRUNNING |
| 2121 | |
| 2122 | /* defines below are for all win versions (_WIN32_WINNT >= 0x0400) || |
| 2123 | * (_WIN32_WINDOWS > 0x0400) */ |
| 2124 | #define SPI_GETMOUSEHOVERWIDTH 98 |
| 2125 | #define SPI_SETMOUSEHOVERWIDTH 99 |
| 2126 | #define SPI_GETMOUSEHOVERHEIGHT 100 |
| 2127 | #define SPI_SETMOUSEHOVERHEIGHT 101 |
| 2128 | #define SPI_GETMOUSEHOVERTIME 102 |
| 2129 | #define SPI_SETMOUSEHOVERTIME 103 |
| 2130 | #define SPI_GETWHEELSCROLLLINES 104 |
| 2131 | #define SPI_SETWHEELSCROLLLINES 105 |
| 2132 | |
| 2133 | #define SPI_GETSHOWIMEUI 110 |
| 2134 | #define SPI_SETSHOWIMEUI 111 |
| 2135 | |
| 2136 | /* defines below are for all win versions WINVER >= 0x0500 */ |
| 2137 | #define SPI_GETMOUSESPEED 112 |
| 2138 | #define SPI_SETMOUSESPEED 113 |
| 2139 | #define SPI_GETSCREENSAVERRUNNING 114 |
| 2140 | |
| 2141 | #define SPI_GETACTIVEWINDOWTRACKING 0x1000 |
| 2142 | #define SPI_SETACTIVEWINDOWTRACKING 0x1001 |
| 2143 | #define SPI_GETMENUANIMATION 0x1002 |
| 2144 | #define SPI_SETMENUANIMATION 0x1003 |
| 2145 | #define SPI_GETCOMBOBOXANIMATION 0x1004 |
| 2146 | #define SPI_SETCOMBOBOXANIMATION 0x1005 |
| 2147 | #define SPI_GETLISTBOXSMOOTHSCROLLING 0x1006 |
| 2148 | #define SPI_SETLISTBOXSMOOTHSCROLLING 0x1007 |
| 2149 | #define SPI_GETGRADIENTCAPTIONS 0x1008 |
| 2150 | #define SPI_SETGRADIENTCAPTIONS 0x1009 |
| 2151 | #define SPI_GETMENUUNDERLINES 0x100A |
| 2152 | #define SPI_SETMENUUNDERLINES 0x100B |
| 2153 | #define SPI_GETACTIVEWNDTRKZORDER 0x100C |
| 2154 | #define SPI_SETACTIVEWNDTRKZORDER 0x100D |
| 2155 | #define SPI_GETHOTTRACKING 0x100E |
| 2156 | #define SPI_SETHOTTRACKING 0x100F |
| 2157 | #define SPI_GETFOREGROUNDLOCKTIMEOUT 0x2000 |
| 2158 | #define SPI_SETFOREGROUNDLOCKTIMEOUT 0x2001 |
| 2159 | #define SPI_GETACTIVEWNDTRKTIMEOUT 0x2002 |
| 2160 | #define SPI_SETACTIVEWNDTRKTIMEOUT 0x2003 |
| 2161 | #define SPI_GETFOREGROUNDFLASHCOUNT 0x2004 |
| 2162 | #define SPI_SETFOREGROUNDFLASHCOUNT 0x2005 |
| 2163 | |
| 2164 | /* SystemParametersInfo flags */ |
| 2165 | |
| 2166 | #define SPIF_UPDATEINIFILE 1 |
| 2167 | #define SPIF_SENDWININICHANGE 2 |
| 2168 | #define SPIF_SENDCHANGE SPIF_SENDWININICHANGE |
| 2169 | |
Huw D M Davies | a9f55c4 | 1999-05-08 12:45:18 +0000 | [diff] [blame] | 2170 | typedef struct { |
| 2171 | UINT cbSize; |
| 2172 | INT iBorderWidth; |
| 2173 | INT iScrollWidth; |
| 2174 | INT iScrollHeight; |
| 2175 | INT iCaptionWidth; |
| 2176 | INT iCaptionHeight; |
| 2177 | LOGFONTA lfCaptionFont; |
| 2178 | INT iSmCaptionWidth; |
| 2179 | INT iSmCaptionHeight; |
| 2180 | LOGFONTA lfSmCaptionFont; |
| 2181 | INT iMenuWidth; |
| 2182 | INT iMenuHeight; |
| 2183 | LOGFONTA lfMenuFont; |
| 2184 | LOGFONTA lfStatusFont; |
| 2185 | LOGFONTA lfMessageFont; |
| 2186 | } NONCLIENTMETRICSA,*LPNONCLIENTMETRICSA; |
| 2187 | |
| 2188 | typedef struct { |
| 2189 | UINT cbSize; |
| 2190 | INT iBorderWidth; |
| 2191 | INT iScrollWidth; |
| 2192 | INT iScrollHeight; |
| 2193 | INT iCaptionWidth; |
| 2194 | INT iCaptionHeight; |
| 2195 | LOGFONTW lfCaptionFont; |
| 2196 | INT iSmCaptionWidth; |
| 2197 | INT iSmCaptionHeight; |
| 2198 | LOGFONTW lfSmCaptionFont; |
| 2199 | INT iMenuWidth; |
| 2200 | INT iMenuHeight; |
| 2201 | LOGFONTW lfMenuFont; |
| 2202 | LOGFONTW lfStatusFont; |
| 2203 | LOGFONTW lfMessageFont; |
| 2204 | } NONCLIENTMETRICSW,*LPNONCLIENTMETRICSW; |
| 2205 | |
| 2206 | DECL_WINELIB_TYPE_AW(NONCLIENTMETRICS) |
| 2207 | DECL_WINELIB_TYPE_AW(LPNONCLIENTMETRICS) |
| 2208 | |
| 2209 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2210 | /* Window Styles */ |
| 2211 | #define WS_OVERLAPPED 0x00000000L |
| 2212 | #define WS_POPUP 0x80000000L |
| 2213 | #define WS_CHILD 0x40000000L |
| 2214 | #define WS_MINIMIZE 0x20000000L |
| 2215 | #define WS_VISIBLE 0x10000000L |
| 2216 | #define WS_DISABLED 0x08000000L |
| 2217 | #define WS_CLIPSIBLINGS 0x04000000L |
| 2218 | #define WS_CLIPCHILDREN 0x02000000L |
| 2219 | #define WS_MAXIMIZE 0x01000000L |
| 2220 | #define WS_CAPTION 0x00C00000L |
| 2221 | #define WS_BORDER 0x00800000L |
| 2222 | #define WS_DLGFRAME 0x00400000L |
| 2223 | #define WS_VSCROLL 0x00200000L |
| 2224 | #define WS_HSCROLL 0x00100000L |
| 2225 | #define WS_SYSMENU 0x00080000L |
| 2226 | #define WS_THICKFRAME 0x00040000L |
| 2227 | #define WS_GROUP 0x00020000L |
| 2228 | #define WS_TABSTOP 0x00010000L |
| 2229 | #define WS_MINIMIZEBOX 0x00020000L |
| 2230 | #define WS_MAXIMIZEBOX 0x00010000L |
| 2231 | #define WS_TILED WS_OVERLAPPED |
| 2232 | #define WS_ICONIC WS_MINIMIZE |
| 2233 | #define WS_SIZEBOX WS_THICKFRAME |
| 2234 | #define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME| WS_MINIMIZEBOX | WS_MAXIMIZEBOX) |
| 2235 | #define WS_POPUPWINDOW (WS_POPUP | WS_BORDER | WS_SYSMENU) |
| 2236 | #define WS_CHILDWINDOW (WS_CHILD) |
| 2237 | #define WS_TILEDWINDOW (WS_OVERLAPPEDWINDOW) |
| 2238 | |
| 2239 | /* Window extended styles */ |
| 2240 | #define WS_EX_DLGMODALFRAME 0x00000001L |
| 2241 | #define WS_EX_DRAGDETECT 0x00000002L |
| 2242 | #define WS_EX_NOPARENTNOTIFY 0x00000004L |
| 2243 | #define WS_EX_TOPMOST 0x00000008L |
| 2244 | #define WS_EX_ACCEPTFILES 0x00000010L |
| 2245 | #define WS_EX_TRANSPARENT 0x00000020L |
| 2246 | |
| 2247 | /* New Win95/WinNT4 styles */ |
| 2248 | #define WS_EX_MDICHILD 0x00000040L |
| 2249 | #define WS_EX_TOOLWINDOW 0x00000080L |
| 2250 | #define WS_EX_WINDOWEDGE 0x00000100L |
| 2251 | #define WS_EX_CLIENTEDGE 0x00000200L |
| 2252 | #define WS_EX_CONTEXTHELP 0x00000400L |
| 2253 | #define WS_EX_RIGHT 0x00001000L |
| 2254 | #define WS_EX_LEFT 0x00000000L |
| 2255 | #define WS_EX_RTLREADING 0x00002000L |
| 2256 | #define WS_EX_LTRREADING 0x00000000L |
| 2257 | #define WS_EX_LEFTSCROLLBAR 0x00004000L |
| 2258 | #define WS_EX_RIGHTSCROLLBAR 0x00000000L |
| 2259 | #define WS_EX_CONTROLPARENT 0x00010000L |
| 2260 | #define WS_EX_STATICEDGE 0x00020000L |
| 2261 | #define WS_EX_APPWINDOW 0x00040000L |
| 2262 | |
| 2263 | #define WS_EX_OVERLAPPEDWINDOW (WS_EX_WINDOWEDGE|WS_EX_CLIENTEDGE) |
| 2264 | #define WS_EX_PALETTEWINDOW (WS_EX_WINDOWEDGE|WS_EX_TOOLWINDOW|WS_EX_TOPMOST) |
| 2265 | |
| 2266 | /* Window scrolling */ |
| 2267 | #define SW_SCROLLCHILDREN 0x0001 |
| 2268 | #define SW_INVALIDATE 0x0002 |
| 2269 | #define SW_ERASE 0x0004 |
| 2270 | |
| 2271 | /* CreateWindow() coordinates */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2272 | #define CW_USEDEFAULT ((INT)0x80000000) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2273 | |
| 2274 | /* ChildWindowFromPointEx Flags */ |
| 2275 | #define CWP_ALL 0x0000 |
| 2276 | #define CWP_SKIPINVISIBLE 0x0001 |
| 2277 | #define CWP_SKIPDISABLED 0x0002 |
| 2278 | #define CWP_SKIPTRANSPARENT 0x0004 |
| 2279 | |
| 2280 | /* PeekMessage() options */ |
| 2281 | #define PM_NOREMOVE 0x0000 |
| 2282 | #define PM_REMOVE 0x0001 |
| 2283 | #define PM_NOYIELD 0x0002 |
| 2284 | |
| 2285 | #define WM_SHOWWINDOW 0x0018 |
| 2286 | |
| 2287 | /* WM_SHOWWINDOW wParam codes */ |
| 2288 | #define SW_PARENTCLOSING 1 |
| 2289 | #define SW_OTHERMAXIMIZED 2 |
| 2290 | #define SW_PARENTOPENING 3 |
| 2291 | #define SW_OTHERRESTORED 4 |
| 2292 | |
| 2293 | /* ShowWindow() codes */ |
| 2294 | #define SW_HIDE 0 |
| 2295 | #define SW_SHOWNORMAL 1 |
| 2296 | #define SW_NORMAL 1 |
| 2297 | #define SW_SHOWMINIMIZED 2 |
| 2298 | #define SW_SHOWMAXIMIZED 3 |
| 2299 | #define SW_MAXIMIZE 3 |
| 2300 | #define SW_SHOWNOACTIVATE 4 |
| 2301 | #define SW_SHOW 5 |
| 2302 | #define SW_MINIMIZE 6 |
| 2303 | #define SW_SHOWMINNOACTIVE 7 |
| 2304 | #define SW_SHOWNA 8 |
| 2305 | #define SW_RESTORE 9 |
| 2306 | #define SW_SHOWDEFAULT 10 |
| 2307 | #define SW_MAX 10 |
| 2308 | #define SW_NORMALNA 0xCC /* undoc. flag in MinMaximize */ |
| 2309 | |
| 2310 | /* WM_SIZE message wParam values */ |
| 2311 | #define SIZE_RESTORED 0 |
| 2312 | #define SIZE_MINIMIZED 1 |
| 2313 | #define SIZE_MAXIMIZED 2 |
| 2314 | #define SIZE_MAXSHOW 3 |
| 2315 | #define SIZE_MAXHIDE 4 |
| 2316 | #define SIZENORMAL SIZE_RESTORED |
| 2317 | #define SIZEICONIC SIZE_MINIMIZED |
| 2318 | #define SIZEFULLSCREEN SIZE_MAXIMIZED |
| 2319 | #define SIZEZOOMSHOW SIZE_MAXSHOW |
| 2320 | #define SIZEZOOMHIDE SIZE_MAXHIDE |
| 2321 | |
| 2322 | /* SetWindowPos() and WINDOWPOS flags */ |
| 2323 | #define SWP_NOSIZE 0x0001 |
| 2324 | #define SWP_NOMOVE 0x0002 |
| 2325 | #define SWP_NOZORDER 0x0004 |
| 2326 | #define SWP_NOREDRAW 0x0008 |
| 2327 | #define SWP_NOACTIVATE 0x0010 |
| 2328 | #define SWP_FRAMECHANGED 0x0020 /* The frame changed: send WM_NCCALCSIZE */ |
| 2329 | #define SWP_SHOWWINDOW 0x0040 |
| 2330 | #define SWP_HIDEWINDOW 0x0080 |
| 2331 | #define SWP_NOCOPYBITS 0x0100 |
| 2332 | #define SWP_NOOWNERZORDER 0x0200 /* Don't do owner Z ordering */ |
| 2333 | |
| 2334 | #define SWP_DRAWFRAME SWP_FRAMECHANGED |
| 2335 | #define SWP_NOREPOSITION SWP_NOOWNERZORDER |
| 2336 | |
| 2337 | #define SWP_NOSENDCHANGING 0x0400 |
| 2338 | #define SWP_DEFERERASE 0x2000 |
Ulrich Weigand | 7f53c57 | 1999-06-18 17:03:13 +0000 | [diff] [blame] | 2339 | #define SWP_ASYNCWINDOWPOS 0x4000 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2340 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2341 | #define HWND_DESKTOP ((HWND)0) |
| 2342 | #define HWND_BROADCAST ((HWND)0xffff) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2343 | |
| 2344 | /* SetWindowPos() hwndInsertAfter field values */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2345 | #define HWND_TOP ((HWND)0) |
| 2346 | #define HWND_BOTTOM ((HWND)1) |
| 2347 | #define HWND_TOPMOST ((HWND)-1) |
| 2348 | #define HWND_NOTOPMOST ((HWND)-2) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2349 | |
| 2350 | #define MF_INSERT 0x0000 |
| 2351 | #define MF_CHANGE 0x0080 |
| 2352 | #define MF_APPEND 0x0100 |
| 2353 | #define MF_DELETE 0x0200 |
| 2354 | #define MF_REMOVE 0x1000 |
| 2355 | #define MF_END 0x0080 |
| 2356 | |
| 2357 | #define MF_ENABLED 0x0000 |
| 2358 | #define MF_GRAYED 0x0001 |
| 2359 | #define MF_DISABLED 0x0002 |
| 2360 | #define MF_STRING 0x0000 |
| 2361 | #define MF_BITMAP 0x0004 |
| 2362 | #define MF_UNCHECKED 0x0000 |
| 2363 | #define MF_CHECKED 0x0008 |
| 2364 | #define MF_POPUP 0x0010 |
| 2365 | #define MF_MENUBARBREAK 0x0020 |
| 2366 | #define MF_MENUBREAK 0x0040 |
| 2367 | #define MF_UNHILITE 0x0000 |
| 2368 | #define MF_HILITE 0x0080 |
| 2369 | #define MF_OWNERDRAW 0x0100 |
| 2370 | #define MF_USECHECKBITMAPS 0x0200 |
| 2371 | #define MF_BYCOMMAND 0x0000 |
| 2372 | #define MF_BYPOSITION 0x0400 |
| 2373 | #define MF_SEPARATOR 0x0800 |
| 2374 | #define MF_DEFAULT 0x1000 |
| 2375 | #define MF_SYSMENU 0x2000 |
| 2376 | #define MF_HELP 0x4000 |
| 2377 | #define MF_RIGHTJUSTIFY 0x4000 |
| 2378 | #define MF_MOUSESELECT 0x8000 |
| 2379 | |
| 2380 | /* Flags for extended menu item types. */ |
| 2381 | #define MFT_STRING MF_STRING |
| 2382 | #define MFT_BITMAP MF_BITMAP |
| 2383 | #define MFT_MENUBARBREAK MF_MENUBARBREAK |
| 2384 | #define MFT_MENUBREAK MF_MENUBREAK |
| 2385 | #define MFT_OWNERDRAW MF_OWNERDRAW |
| 2386 | #define MFT_RADIOCHECK 0x00000200L |
| 2387 | #define MFT_SEPARATOR MF_SEPARATOR |
| 2388 | #define MFT_RIGHTORDER 0x00002000L |
| 2389 | #define MFT_RIGHTJUSTIFY MF_RIGHTJUSTIFY |
| 2390 | |
| 2391 | /* Flags for extended menu item states. */ |
| 2392 | #define MFS_GRAYED 0x00000003L |
| 2393 | #define MFS_DISABLED MFS_GRAYED |
| 2394 | #define MFS_CHECKED MF_CHECKED |
| 2395 | #define MFS_HILITE MF_HILITE |
| 2396 | #define MFS_ENABLED MF_ENABLED |
| 2397 | #define MFS_UNCHECKED MF_UNCHECKED |
| 2398 | #define MFS_UNHILITE MF_UNHILITE |
| 2399 | #define MFS_DEFAULT MF_DEFAULT |
Juergen Schmied | 7851394 | 1999-04-18 14:40:32 +0000 | [diff] [blame] | 2400 | #define MFS_MASK 0x0000108BL |
| 2401 | #define MFS_HOTTRACKDRAWN 0x10000000L |
| 2402 | #define MFS_CACHEDBMP 0x20000000L |
| 2403 | #define MFS_BOTTOMGAPDROP 0x40000000L |
| 2404 | #define MFS_TOPGAPDROP 0x80000000L |
| 2405 | #define MFS_GAPDROP 0xC0000000L |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2406 | |
Juergen Schmied | 466a652 | 1999-05-02 11:21:08 +0000 | [diff] [blame] | 2407 | /* for GetMenuDefaultItem */ |
| 2408 | #define GMDI_USEDISABLED 0x0001L |
| 2409 | #define GMDI_GOINTOPOPUPS 0x0002L |
| 2410 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2411 | #define DT_TOP 0 |
| 2412 | #define DT_LEFT 0 |
| 2413 | #define DT_CENTER 1 |
| 2414 | #define DT_RIGHT 2 |
| 2415 | #define DT_VCENTER 4 |
| 2416 | #define DT_BOTTOM 8 |
| 2417 | #define DT_WORDBREAK 16 |
| 2418 | #define DT_SINGLELINE 32 |
| 2419 | #define DT_EXPANDTABS 64 |
| 2420 | #define DT_TABSTOP 128 |
| 2421 | #define DT_NOCLIP 256 |
| 2422 | #define DT_EXTERNALLEADING 512 |
| 2423 | #define DT_CALCRECT 1024 |
| 2424 | #define DT_NOPREFIX 2048 |
| 2425 | #define DT_INTERNAL 4096 |
| 2426 | |
| 2427 | /* DrawCaption()/DrawCaptionTemp() flags */ |
| 2428 | #define DC_ACTIVE 0x0001 |
| 2429 | #define DC_SMALLCAP 0x0002 |
| 2430 | #define DC_ICON 0x0004 |
| 2431 | #define DC_TEXT 0x0008 |
| 2432 | #define DC_INBUTTON 0x0010 |
| 2433 | |
| 2434 | /* DrawEdge() flags */ |
| 2435 | #define BDR_RAISEDOUTER 0x0001 |
| 2436 | #define BDR_SUNKENOUTER 0x0002 |
| 2437 | #define BDR_RAISEDINNER 0x0004 |
| 2438 | #define BDR_SUNKENINNER 0x0008 |
| 2439 | |
| 2440 | #define BDR_OUTER 0x0003 |
| 2441 | #define BDR_INNER 0x000c |
| 2442 | #define BDR_RAISED 0x0005 |
| 2443 | #define BDR_SUNKEN 0x000a |
| 2444 | |
| 2445 | #define EDGE_RAISED (BDR_RAISEDOUTER | BDR_RAISEDINNER) |
| 2446 | #define EDGE_SUNKEN (BDR_SUNKENOUTER | BDR_SUNKENINNER) |
| 2447 | #define EDGE_ETCHED (BDR_SUNKENOUTER | BDR_RAISEDINNER) |
| 2448 | #define EDGE_BUMP (BDR_RAISEDOUTER | BDR_SUNKENINNER) |
| 2449 | |
| 2450 | /* border flags */ |
| 2451 | #define BF_LEFT 0x0001 |
| 2452 | #define BF_TOP 0x0002 |
| 2453 | #define BF_RIGHT 0x0004 |
| 2454 | #define BF_BOTTOM 0x0008 |
| 2455 | #define BF_DIAGONAL 0x0010 |
| 2456 | #define BF_MIDDLE 0x0800 /* Fill in the middle */ |
| 2457 | #define BF_SOFT 0x1000 /* For softer buttons */ |
| 2458 | #define BF_ADJUST 0x2000 /* Calculate the space left over */ |
| 2459 | #define BF_FLAT 0x4000 /* For flat rather than 3D borders */ |
| 2460 | #define BF_MONO 0x8000 /* For monochrome borders */ |
| 2461 | #define BF_TOPLEFT (BF_TOP | BF_LEFT) |
| 2462 | #define BF_TOPRIGHT (BF_TOP | BF_RIGHT) |
| 2463 | #define BF_BOTTOMLEFT (BF_BOTTOM | BF_LEFT) |
| 2464 | #define BF_BOTTOMRIGHT (BF_BOTTOM | BF_RIGHT) |
| 2465 | #define BF_RECT (BF_LEFT | BF_TOP | BF_RIGHT | BF_BOTTOM) |
| 2466 | #define BF_DIAGONAL_ENDTOPRIGHT (BF_DIAGONAL | BF_TOP | BF_RIGHT) |
| 2467 | #define BF_DIAGONAL_ENDTOPLEFT (BF_DIAGONAL | BF_TOP | BF_LEFT) |
| 2468 | #define BF_DIAGONAL_ENDBOTTOMLEFT (BF_DIAGONAL | BF_BOTTOM | BF_LEFT) |
| 2469 | #define BF_DIAGONAL_ENDBOTTOMRIGHT (BF_DIAGONAL | BF_BOTTOM | BF_RIGHT) |
| 2470 | |
| 2471 | /* DrawFrameControl() uType's */ |
| 2472 | |
| 2473 | #define DFC_CAPTION 1 |
| 2474 | #define DFC_MENU 2 |
| 2475 | #define DFC_SCROLL 3 |
| 2476 | #define DFC_BUTTON 4 |
| 2477 | |
| 2478 | /* uState's */ |
| 2479 | |
| 2480 | #define DFCS_CAPTIONCLOSE 0x0000 |
| 2481 | #define DFCS_CAPTIONMIN 0x0001 |
| 2482 | #define DFCS_CAPTIONMAX 0x0002 |
| 2483 | #define DFCS_CAPTIONRESTORE 0x0003 |
| 2484 | #define DFCS_CAPTIONHELP 0x0004 /* Windows 95 only */ |
| 2485 | |
| 2486 | #define DFCS_MENUARROW 0x0000 |
| 2487 | #define DFCS_MENUCHECK 0x0001 |
| 2488 | #define DFCS_MENUBULLET 0x0002 |
| 2489 | #define DFCS_MENUARROWRIGHT 0x0004 |
| 2490 | |
| 2491 | #define DFCS_SCROLLUP 0x0000 |
| 2492 | #define DFCS_SCROLLDOWN 0x0001 |
| 2493 | #define DFCS_SCROLLLEFT 0x0002 |
| 2494 | #define DFCS_SCROLLRIGHT 0x0003 |
| 2495 | #define DFCS_SCROLLCOMBOBOX 0x0005 |
| 2496 | #define DFCS_SCROLLSIZEGRIP 0x0008 |
| 2497 | #define DFCS_SCROLLSIZEGRIPRIGHT 0x0010 |
| 2498 | |
| 2499 | #define DFCS_BUTTONCHECK 0x0000 |
| 2500 | #define DFCS_BUTTONRADIOIMAGE 0x0001 |
| 2501 | #define DFCS_BUTTONRADIOMASK 0x0002 /* to draw nonsquare button */ |
| 2502 | #define DFCS_BUTTONRADIO 0x0004 |
| 2503 | #define DFCS_BUTTON3STATE 0x0008 |
| 2504 | #define DFCS_BUTTONPUSH 0x0010 |
| 2505 | |
| 2506 | /* additional state of the control */ |
| 2507 | |
| 2508 | #define DFCS_INACTIVE 0x0100 |
| 2509 | #define DFCS_PUSHED 0x0200 |
| 2510 | #define DFCS_CHECKED 0x0400 |
| 2511 | #define DFCS_ADJUSTRECT 0x2000 /* exclude surrounding edge */ |
| 2512 | #define DFCS_FLAT 0x4000 |
| 2513 | #define DFCS_MONO 0x8000 |
| 2514 | |
| 2515 | /* Image type */ |
| 2516 | #define DST_COMPLEX 0x0000 |
| 2517 | #define DST_TEXT 0x0001 |
| 2518 | #define DST_PREFIXTEXT 0x0002 |
| 2519 | #define DST_ICON 0x0003 |
| 2520 | #define DST_BITMAP 0x0004 |
| 2521 | |
| 2522 | /* State type */ |
| 2523 | #define DSS_NORMAL 0x0000 |
| 2524 | #define DSS_UNION 0x0010 /* Gray string appearance */ |
| 2525 | #define DSS_DISABLED 0x0020 |
| 2526 | #define DSS_DEFAULT 0x0040 /* Make it bold */ |
| 2527 | #define DSS_MONO 0x0080 |
| 2528 | #define DSS_RIGHT 0x8000 |
| 2529 | |
| 2530 | typedef struct |
| 2531 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2532 | UINT CtlType; |
| 2533 | UINT CtlID; |
| 2534 | UINT itemID; |
| 2535 | UINT itemAction; |
| 2536 | UINT itemState; |
| 2537 | HWND hwndItem; |
| 2538 | HDC hDC; |
| 2539 | RECT rcItem WINE_PACKED; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2540 | DWORD itemData WINE_PACKED; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2541 | } DRAWITEMSTRUCT, *PDRAWITEMSTRUCT, *LPDRAWITEMSTRUCT; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2542 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2543 | |
| 2544 | typedef struct |
| 2545 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2546 | UINT CtlType; |
| 2547 | UINT CtlID; |
| 2548 | UINT itemID; |
| 2549 | UINT itemWidth; |
| 2550 | UINT itemHeight; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2551 | DWORD itemData; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2552 | } MEASUREITEMSTRUCT, *PMEASUREITEMSTRUCT, *LPMEASUREITEMSTRUCT; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2553 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2554 | |
| 2555 | typedef struct |
| 2556 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2557 | UINT CtlType; |
| 2558 | UINT CtlID; |
| 2559 | UINT itemID; |
| 2560 | HWND hwndItem; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2561 | DWORD itemData; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2562 | } DELETEITEMSTRUCT, *LPDELETEITEMSTRUCT; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2563 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2564 | |
| 2565 | typedef struct |
| 2566 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2567 | UINT CtlType; |
| 2568 | UINT CtlID; |
| 2569 | HWND hwndItem; |
| 2570 | UINT itemID1; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2571 | DWORD itemData1; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2572 | UINT itemID2; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2573 | DWORD itemData2; |
| 2574 | DWORD dwLocaleId; |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 2575 | } COMPAREITEMSTRUCT, *PCOMPAREITEMSTRUCT, *LPCOMPAREITEMSTRUCT; |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2576 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2577 | |
| 2578 | /* WM_KEYUP/DOWN/CHAR HIWORD(lParam) flags */ |
| 2579 | #define KF_EXTENDED 0x0100 |
| 2580 | #define KF_DLGMODE 0x0800 |
| 2581 | #define KF_MENUMODE 0x1000 |
| 2582 | #define KF_ALTDOWN 0x2000 |
| 2583 | #define KF_REPEAT 0x4000 |
| 2584 | #define KF_UP 0x8000 |
| 2585 | |
| 2586 | /* Virtual key codes */ |
| 2587 | #define VK_LBUTTON 0x01 |
| 2588 | #define VK_RBUTTON 0x02 |
| 2589 | #define VK_CANCEL 0x03 |
| 2590 | #define VK_MBUTTON 0x04 |
| 2591 | /* 0x05-0x07 Undefined */ |
| 2592 | #define VK_BACK 0x08 |
| 2593 | #define VK_TAB 0x09 |
| 2594 | /* 0x0A-0x0B Undefined */ |
| 2595 | #define VK_CLEAR 0x0C |
| 2596 | #define VK_RETURN 0x0D |
| 2597 | /* 0x0E-0x0F Undefined */ |
| 2598 | #define VK_SHIFT 0x10 |
| 2599 | #define VK_CONTROL 0x11 |
| 2600 | #define VK_MENU 0x12 |
| 2601 | #define VK_PAUSE 0x13 |
| 2602 | #define VK_CAPITAL 0x14 |
| 2603 | /* 0x15-0x19 Reserved for Kanji systems */ |
| 2604 | /* 0x1A Undefined */ |
| 2605 | #define VK_ESCAPE 0x1B |
| 2606 | /* 0x1C-0x1F Reserved for Kanji systems */ |
| 2607 | #define VK_SPACE 0x20 |
| 2608 | #define VK_PRIOR 0x21 |
| 2609 | #define VK_NEXT 0x22 |
| 2610 | #define VK_END 0x23 |
| 2611 | #define VK_HOME 0x24 |
| 2612 | #define VK_LEFT 0x25 |
| 2613 | #define VK_UP 0x26 |
| 2614 | #define VK_RIGHT 0x27 |
| 2615 | #define VK_DOWN 0x28 |
| 2616 | #define VK_SELECT 0x29 |
| 2617 | #define VK_PRINT 0x2A /* OEM specific in Windows 3.1 SDK */ |
| 2618 | #define VK_EXECUTE 0x2B |
| 2619 | #define VK_SNAPSHOT 0x2C |
| 2620 | #define VK_INSERT 0x2D |
| 2621 | #define VK_DELETE 0x2E |
| 2622 | #define VK_HELP 0x2F |
| 2623 | #define VK_0 0x30 |
| 2624 | #define VK_1 0x31 |
| 2625 | #define VK_2 0x32 |
| 2626 | #define VK_3 0x33 |
| 2627 | #define VK_4 0x34 |
| 2628 | #define VK_5 0x35 |
| 2629 | #define VK_6 0x36 |
| 2630 | #define VK_7 0x37 |
| 2631 | #define VK_8 0x38 |
| 2632 | #define VK_9 0x39 |
| 2633 | /* 0x3A-0x40 Undefined */ |
| 2634 | #define VK_A 0x41 |
| 2635 | #define VK_B 0x42 |
| 2636 | #define VK_C 0x43 |
| 2637 | #define VK_D 0x44 |
| 2638 | #define VK_E 0x45 |
| 2639 | #define VK_F 0x46 |
| 2640 | #define VK_G 0x47 |
| 2641 | #define VK_H 0x48 |
| 2642 | #define VK_I 0x49 |
| 2643 | #define VK_J 0x4A |
| 2644 | #define VK_K 0x4B |
| 2645 | #define VK_L 0x4C |
| 2646 | #define VK_M 0x4D |
| 2647 | #define VK_N 0x4E |
| 2648 | #define VK_O 0x4F |
| 2649 | #define VK_P 0x50 |
| 2650 | #define VK_Q 0x51 |
| 2651 | #define VK_R 0x52 |
| 2652 | #define VK_S 0x53 |
| 2653 | #define VK_T 0x54 |
| 2654 | #define VK_U 0x55 |
| 2655 | #define VK_V 0x56 |
| 2656 | #define VK_W 0x57 |
| 2657 | #define VK_X 0x58 |
| 2658 | #define VK_Y 0x59 |
| 2659 | #define VK_Z 0x5A |
| 2660 | |
| 2661 | #define VK_LWIN 0x5B |
| 2662 | #define VK_RWIN 0x5C |
| 2663 | #define VK_APPS 0x5D |
| 2664 | /* 0x5E-0x5F Unassigned */ |
| 2665 | #define VK_NUMPAD0 0x60 |
| 2666 | #define VK_NUMPAD1 0x61 |
| 2667 | #define VK_NUMPAD2 0x62 |
| 2668 | #define VK_NUMPAD3 0x63 |
| 2669 | #define VK_NUMPAD4 0x64 |
| 2670 | #define VK_NUMPAD5 0x65 |
| 2671 | #define VK_NUMPAD6 0x66 |
| 2672 | #define VK_NUMPAD7 0x67 |
| 2673 | #define VK_NUMPAD8 0x68 |
| 2674 | #define VK_NUMPAD9 0x69 |
| 2675 | #define VK_MULTIPLY 0x6A |
| 2676 | #define VK_ADD 0x6B |
| 2677 | #define VK_SEPARATOR 0x6C |
| 2678 | #define VK_SUBTRACT 0x6D |
| 2679 | #define VK_DECIMAL 0x6E |
| 2680 | #define VK_DIVIDE 0x6F |
| 2681 | #define VK_F1 0x70 |
| 2682 | #define VK_F2 0x71 |
| 2683 | #define VK_F3 0x72 |
| 2684 | #define VK_F4 0x73 |
| 2685 | #define VK_F5 0x74 |
| 2686 | #define VK_F6 0x75 |
| 2687 | #define VK_F7 0x76 |
| 2688 | #define VK_F8 0x77 |
| 2689 | #define VK_F9 0x78 |
| 2690 | #define VK_F10 0x79 |
| 2691 | #define VK_F11 0x7A |
| 2692 | #define VK_F12 0x7B |
| 2693 | #define VK_F13 0x7C |
| 2694 | #define VK_F14 0x7D |
| 2695 | #define VK_F15 0x7E |
| 2696 | #define VK_F16 0x7F |
| 2697 | #define VK_F17 0x80 |
| 2698 | #define VK_F18 0x81 |
| 2699 | #define VK_F19 0x82 |
| 2700 | #define VK_F20 0x83 |
| 2701 | #define VK_F21 0x84 |
| 2702 | #define VK_F22 0x85 |
| 2703 | #define VK_F23 0x86 |
| 2704 | #define VK_F24 0x87 |
| 2705 | /* 0x88-0x8F Unassigned */ |
| 2706 | #define VK_NUMLOCK 0x90 |
| 2707 | #define VK_SCROLL 0x91 |
| 2708 | /* 0x92-0x9F Unassigned */ |
| 2709 | /* |
| 2710 | * differencing between right and left shift/control/alt key. |
| 2711 | * Used only by GetAsyncKeyState() and GetKeyState(). |
| 2712 | */ |
| 2713 | #define VK_LSHIFT 0xA0 |
| 2714 | #define VK_RSHIFT 0xA1 |
| 2715 | #define VK_LCONTROL 0xA2 |
| 2716 | #define VK_RCONTROL 0xA3 |
| 2717 | #define VK_LMENU 0xA4 |
| 2718 | #define VK_RMENU 0xA5 |
| 2719 | /* 0xA6-0xB9 Unassigned */ |
| 2720 | #define VK_OEM_1 0xBA |
| 2721 | #define VK_OEM_PLUS 0xBB |
| 2722 | #define VK_OEM_COMMA 0xBC |
| 2723 | #define VK_OEM_MINUS 0xBD |
| 2724 | #define VK_OEM_PERIOD 0xBE |
| 2725 | #define VK_OEM_2 0xBF |
| 2726 | #define VK_OEM_3 0xC0 |
| 2727 | /* 0xC1-0xDA Unassigned */ |
| 2728 | #define VK_OEM_4 0xDB |
| 2729 | #define VK_OEM_5 0xDC |
| 2730 | #define VK_OEM_6 0xDD |
| 2731 | #define VK_OEM_7 0xDE |
| 2732 | /* 0xDF-0xE4 OEM specific */ |
| 2733 | |
| 2734 | #define VK_PROCESSKEY 0xE5 |
| 2735 | |
| 2736 | /* 0xE6 OEM specific */ |
| 2737 | /* 0xE7-0xE8 Unassigned */ |
| 2738 | /* 0xE9-0xF5 OEM specific */ |
| 2739 | |
| 2740 | #define VK_ATTN 0xF6 |
| 2741 | #define VK_CRSEL 0xF7 |
| 2742 | #define VK_EXSEL 0xF8 |
| 2743 | #define VK_EREOF 0xF9 |
| 2744 | #define VK_PLAY 0xFA |
| 2745 | #define VK_ZOOM 0xFB |
| 2746 | #define VK_NONAME 0xFC |
| 2747 | #define VK_PA1 0xFD |
| 2748 | #define VK_OEM_CLEAR 0xFE |
| 2749 | |
| 2750 | /* Key status flags for mouse events */ |
| 2751 | #define MK_LBUTTON 0x0001 |
| 2752 | #define MK_RBUTTON 0x0002 |
| 2753 | #define MK_SHIFT 0x0004 |
| 2754 | #define MK_CONTROL 0x0008 |
| 2755 | #define MK_MBUTTON 0x0010 |
| 2756 | |
| 2757 | /* Queue status flags */ |
| 2758 | #define QS_KEY 0x0001 |
| 2759 | #define QS_MOUSEMOVE 0x0002 |
| 2760 | #define QS_MOUSEBUTTON 0x0004 |
| 2761 | #define QS_MOUSE (QS_MOUSEMOVE | QS_MOUSEBUTTON) |
| 2762 | #define QS_POSTMESSAGE 0x0008 |
| 2763 | #define QS_TIMER 0x0010 |
| 2764 | #define QS_PAINT 0x0020 |
| 2765 | #define QS_SENDMESSAGE 0x0040 |
Eric Pouech | 33c5974 | 1999-04-25 10:59:01 +0000 | [diff] [blame] | 2766 | #define QS_HOTKEY 0x0080 |
| 2767 | #define QS_INPUT (QS_MOUSE | QS_KEY) |
| 2768 | #define QS_ALLEVENTS (QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_HOTKEY) |
| 2769 | #define QS_ALLINPUT (QS_ALLEVENTS | QS_SENDMESSAGE) |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2770 | |
| 2771 | #define DDL_READWRITE 0x0000 |
| 2772 | #define DDL_READONLY 0x0001 |
| 2773 | #define DDL_HIDDEN 0x0002 |
| 2774 | #define DDL_SYSTEM 0x0004 |
| 2775 | #define DDL_DIRECTORY 0x0010 |
| 2776 | #define DDL_ARCHIVE 0x0020 |
| 2777 | |
| 2778 | #define DDL_POSTMSGS 0x2000 |
| 2779 | #define DDL_DRIVES 0x4000 |
| 2780 | #define DDL_EXCLUSIVE 0x8000 |
| 2781 | |
| 2782 | /* Shell hook values */ |
| 2783 | #define HSHELL_WINDOWCREATED 1 |
| 2784 | #define HSHELL_WINDOWDESTROYED 2 |
| 2785 | #define HSHELL_ACTIVATESHELLWINDOW 3 |
| 2786 | |
| 2787 | /* Predefined Clipboard Formats */ |
| 2788 | #define CF_TEXT 1 |
| 2789 | #define CF_BITMAP 2 |
| 2790 | #define CF_METAFILEPICT 3 |
| 2791 | #define CF_SYLK 4 |
| 2792 | #define CF_DIF 5 |
| 2793 | #define CF_TIFF 6 |
| 2794 | #define CF_OEMTEXT 7 |
| 2795 | #define CF_DIB 8 |
| 2796 | #define CF_PALETTE 9 |
| 2797 | #define CF_PENDATA 10 |
| 2798 | #define CF_RIFF 11 |
| 2799 | #define CF_WAVE 12 |
| 2800 | #define CF_ENHMETAFILE 14 |
Jim Aston | 10141fe | 1999-04-25 12:31:20 +0000 | [diff] [blame] | 2801 | #define CF_HDROP 15 |
| 2802 | #define CF_LOCALE 16 |
| 2803 | #define CF_MAX 17 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2804 | |
| 2805 | #define CF_OWNERDISPLAY 0x0080 |
| 2806 | #define CF_DSPTEXT 0x0081 |
| 2807 | #define CF_DSPBITMAP 0x0082 |
| 2808 | #define CF_DSPMETAFILEPICT 0x0083 |
| 2809 | |
| 2810 | /* "Private" formats don't get GlobalFree()'d */ |
| 2811 | #define CF_PRIVATEFIRST 0x0200 |
| 2812 | #define CF_PRIVATELAST 0x02FF |
| 2813 | |
| 2814 | /* "GDIOBJ" formats do get DeleteObject()'d */ |
| 2815 | #define CF_GDIOBJFIRST 0x0300 |
| 2816 | #define CF_GDIOBJLAST 0x03FF |
| 2817 | |
| 2818 | /* Clipboard command messages */ |
| 2819 | #define WM_CUT 0x0300 |
| 2820 | #define WM_COPY 0x0301 |
| 2821 | #define WM_PASTE 0x0302 |
| 2822 | #define WM_CLEAR 0x0303 |
| 2823 | #define WM_UNDO 0x0304 |
| 2824 | |
| 2825 | /* Clipboard owner messages */ |
| 2826 | #define WM_RENDERFORMAT 0x0305 |
| 2827 | #define WM_RENDERALLFORMATS 0x0306 |
| 2828 | #define WM_DESTROYCLIPBOARD 0x0307 |
| 2829 | |
| 2830 | /* Clipboard viewer messages */ |
| 2831 | #define WM_DRAWCLIPBOARD 0x0308 |
| 2832 | #define WM_PAINTCLIPBOARD 0x0309 |
| 2833 | #define WM_SIZECLIPBOARD 0x030B |
| 2834 | #define WM_VSCROLLCLIPBOARD 0x030A |
| 2835 | #define WM_HSCROLLCLIPBOARD 0x030E |
| 2836 | #define WM_ASKCBFORMATNAME 0x030C |
| 2837 | #define WM_CHANGECBCHAIN 0x030D |
| 2838 | |
| 2839 | |
| 2840 | |
| 2841 | /* DragObject stuff */ |
| 2842 | |
| 2843 | typedef struct |
| 2844 | { |
| 2845 | HWND16 hWnd; |
| 2846 | HANDLE16 hScope; |
| 2847 | WORD wFlags; |
| 2848 | HANDLE16 hList; |
| 2849 | HANDLE16 hOfStruct; |
| 2850 | POINT16 pt WINE_PACKED; |
| 2851 | LONG l WINE_PACKED; |
| 2852 | } DRAGINFO, *LPDRAGINFO; |
| 2853 | |
| 2854 | #define DRAGOBJ_PROGRAM 0x0001 |
| 2855 | #define DRAGOBJ_DATA 0x0002 |
| 2856 | #define DRAGOBJ_DIRECTORY 0x0004 |
| 2857 | #define DRAGOBJ_MULTIPLE 0x0008 |
| 2858 | #define DRAGOBJ_EXTERNAL 0x8000 |
| 2859 | |
| 2860 | #define DRAG_PRINT 0x544E5250 |
| 2861 | #define DRAG_FILE 0x454C4946 |
| 2862 | |
| 2863 | /* types of LoadImage */ |
| 2864 | #define IMAGE_BITMAP 0 |
| 2865 | #define IMAGE_ICON 1 |
| 2866 | #define IMAGE_CURSOR 2 |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 2867 | #define IMAGE_ENHMETAFILE 3 |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2868 | |
| 2869 | /* loadflags to LoadImage */ |
| 2870 | #define LR_DEFAULTCOLOR 0x0000 |
| 2871 | #define LR_MONOCHROME 0x0001 |
| 2872 | #define LR_COLOR 0x0002 |
| 2873 | #define LR_COPYRETURNORG 0x0004 |
| 2874 | #define LR_COPYDELETEORG 0x0008 |
| 2875 | #define LR_LOADFROMFILE 0x0010 |
| 2876 | #define LR_LOADTRANSPARENT 0x0020 |
| 2877 | #define LR_DEFAULTSIZE 0x0040 |
| 2878 | #define LR_VGA_COLOR 0x0080 |
| 2879 | #define LR_LOADMAP3DCOLORS 0x1000 |
| 2880 | #define LR_CREATEDIBSECTION 0x2000 |
| 2881 | #define LR_COPYFROMRESOURCE 0x4000 |
| 2882 | #define LR_SHARED 0x8000 |
| 2883 | |
| 2884 | /* Flags for DrawIconEx. */ |
| 2885 | #define DI_MASK 1 |
| 2886 | #define DI_IMAGE 2 |
| 2887 | #define DI_NORMAL (DI_MASK | DI_IMAGE) |
| 2888 | #define DI_COMPAT 4 |
| 2889 | #define DI_DEFAULTSIZE 8 |
| 2890 | |
| 2891 | /* misc messages */ |
| 2892 | #define WM_NULL 0x0000 |
| 2893 | #define WM_CPL_LAUNCH (WM_USER + 1000) |
| 2894 | #define WM_CPL_LAUNCHED (WM_USER + 1001) |
| 2895 | |
| 2896 | /* WM_NOTIFYFORMAT commands and return values */ |
| 2897 | #define NFR_ANSI 1 |
| 2898 | #define NFR_UNICODE 2 |
| 2899 | #define NF_QUERY 3 |
| 2900 | #define NF_REQUERY 4 |
| 2901 | |
Jim Aston | 10141fe | 1999-04-25 12:31:20 +0000 | [diff] [blame] | 2902 | #include "poppack.h" |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2903 | #define EnumTaskWindows(handle,proc,lparam) \ |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2904 | EnumThreadWindows(handle,proc,lparam) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2905 | #define OemToAnsiA OemToCharA |
| 2906 | #define OemToAnsiW OemToCharW |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2907 | #define OemToAnsi WINELIB_NAME_AW(OemToAnsi) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2908 | #define OemToAnsiBuffA OemToCharBuffA |
| 2909 | #define OemToAnsiBuffW OemToCharBuffW |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2910 | #define OemToAnsiBuff WINELIB_NAME_AW(OemToAnsiBuff) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2911 | #define AnsiToOemA CharToOemA |
| 2912 | #define AnsiToOemW CharToOemW |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2913 | #define AnsiToOem WINELIB_NAME_AW(AnsiToOem) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2914 | #define AnsiToOemBuffA CharToOemBuffA |
| 2915 | #define AnsiToOemBuffW CharToOemBuffW |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 2916 | #define AnsiToOemBuff WINELIB_NAME_AW(AnsiToOemBuff) |
Patrik Stridvall | 1ed4ecf | 1999-06-26 14:58:24 +0000 | [diff] [blame^] | 2917 | |
| 2918 | HKL WINAPI ActivateKeyboardLayout(HKL,UINT); |
| 2919 | LONG WINAPI BroadcastSystemMessage(DWORD,LPDWORD,UINT,WPARAM,LPARAM); |
| 2920 | WORD WINAPI CascadeWindows(HWND, UINT, const LPRECT, UINT, const HWND *); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2921 | INT WINAPI CopyAcceleratorTableA(HACCEL,LPACCEL,INT); |
| 2922 | INT WINAPI CopyAcceleratorTableW(HACCEL,LPACCEL,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2923 | #define CopyAcceleratorTable WINELIB_NAME_AW(CopyAcceleratorTable) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2924 | HICON WINAPI CreateIconIndirect(LPICONINFO); |
| 2925 | BOOL WINAPI DestroyAcceleratorTable(HACCEL); |
| 2926 | BOOL WINAPI EnumDisplayMonitors(HDC,LPRECT,MONITORENUMPROC,LPARAM); |
| 2927 | INT WINAPI EnumPropsExA(HWND,PROPENUMPROCEXA,LPARAM); |
| 2928 | INT WINAPI EnumPropsExW(HWND,PROPENUMPROCEXW,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2929 | #define EnumPropsEx WINELIB_NAME_AW(EnumPropsEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2930 | BOOL WINAPI EnumThreadWindows(DWORD,WNDENUMPROC,LPARAM); |
| 2931 | BOOL WINAPI ExitWindowsEx(UINT,DWORD); |
| 2932 | BOOL WINAPI GetIconInfo(HICON,LPICONINFO); |
Patrik Stridvall | 1ed4ecf | 1999-06-26 14:58:24 +0000 | [diff] [blame^] | 2933 | HKL WINAPI GetKeyboardLayout(DWORD); |
| 2934 | INT WINAPI GetKeyboardLayoutList(INT,HKL *); |
| 2935 | DWORD WINAPI GetMenuContextHelpId(HMENU); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2936 | UINT WINAPI GetMenuDefaultItem(HMENU,UINT,UINT); |
Juergen Schmied | 7851394 | 1999-04-18 14:40:32 +0000 | [diff] [blame] | 2937 | BOOL WINAPI GetMenuInfo(HMENU,LPMENUINFO); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2938 | BOOL WINAPI GetMenuItemInfoA(HMENU,UINT,BOOL,MENUITEMINFOA*); |
| 2939 | BOOL WINAPI GetMenuItemInfoW(HMENU,UINT,BOOL,MENUITEMINFOW*); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2940 | #define GetMenuItemInfo WINELIB_NAME_AW(GetMenuItemInfo) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2941 | BOOL WINAPI GetMonitorInfoA(HMONITOR,LPMONITORINFO); |
| 2942 | BOOL WINAPI GetMonitorInfoW(HMONITOR,LPMONITORINFO); |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 2943 | #define GetMonitorInfo WINELIB_NAME_AW(GetMonitorInfo) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2944 | INT WINAPI GetNumberFormatA(LCID,DWORD,LPCSTR,const NUMBERFMTA*,LPSTR,int); |
| 2945 | INT WINAPI GetNumberFormatW(LCID,DWORD,LPCWSTR,const NUMBERFMTW*,LPWSTR,int); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2946 | #define GetNumberFormat WINELIB_NAME_AW(GetNumberFormat); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2947 | DWORD WINAPI GetWindowContextHelpId(HWND); |
| 2948 | DWORD WINAPI GetWindowThreadProcessId(HWND,LPDWORD); |
| 2949 | BOOL WINAPI IsWindowUnicode(HWND); |
| 2950 | HKL WINAPI LoadKeyboardLayoutA(LPCSTR,UINT); |
| 2951 | HKL WINAPI LoadKeyboardLayoutW(LPCWSTR,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2952 | #define LoadKeyboardLayout WINELIB_NAME_AW(LoadKeyboardLayout) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2953 | INT WINAPI MessageBoxExA(HWND,LPCSTR,LPCSTR,UINT,WORD); |
| 2954 | INT WINAPI MessageBoxExW(HWND,LPCWSTR,LPCWSTR,UINT,WORD); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2955 | #define MessageBoxEx WINELIB_NAME_AW(MessageBoxEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2956 | HMONITOR WINAPI MonitorFromPoint(POINT,DWORD); |
| 2957 | HMONITOR WINAPI MonitorFromRect(LPRECT,DWORD); |
| 2958 | HMONITOR WINAPI MonitorFromWindow(HWND,DWORD); |
| 2959 | DWORD WINAPI MsgWaitForMultipleObjects(DWORD,HANDLE*,BOOL,DWORD,DWORD); |
| 2960 | BOOL WINAPI PaintDesktop(HDC); |
| 2961 | BOOL WINAPI PostThreadMessageA(DWORD, UINT, WPARAM, LPARAM); |
| 2962 | BOOL WINAPI PostThreadMessageW(DWORD, UINT, WPARAM, LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2963 | #define PostThreadMessage WINELIB_NAME_AW(PostThreadMessage) |
Patrik Stridvall | 1ed4ecf | 1999-06-26 14:58:24 +0000 | [diff] [blame^] | 2964 | BOOL WINAPI RegisterHotKey(HWND,INT,UINT,UINT); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2965 | UINT WINAPI ReuseDDElParam(UINT,UINT,UINT,UINT,UINT); |
Patrik Stridvall | 1ed4ecf | 1999-06-26 14:58:24 +0000 | [diff] [blame^] | 2966 | BOOL WINAPI SendMessageCallbackA(HWND,UINT,WPARAM,LPARAM,FARPROC,DWORD); |
| 2967 | BOOL WINAPI SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,FARPROC,DWORD); |
| 2968 | #define SendMessageCallback WINELIB_NAME_AW(SendMessageCallback) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2969 | BOOL WINAPI SendNotifyMessageA(HWND,UINT,WPARAM,LPARAM); |
| 2970 | BOOL WINAPI SendNotifyMessageW(HWND,UINT,WPARAM,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2971 | #define SendNotifyMessage WINELIB_NAME_AW(SendNotifyMessage) |
| 2972 | VOID WINAPI SetDebugErrorLevel(DWORD); |
| 2973 | VOID WINAPI SetLastErrorEx(DWORD,DWORD); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2974 | BOOL WINAPI SetMenuDefaultItem(HMENU,UINT,UINT); |
Juergen Schmied | 7851394 | 1999-04-18 14:40:32 +0000 | [diff] [blame] | 2975 | BOOL WINAPI SetMenuInfo(HMENU,LPCMENUINFO); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2976 | BOOL WINAPI SetMenuItemInfoA(HMENU,UINT,BOOL,const MENUITEMINFOA*); |
| 2977 | BOOL WINAPI SetMenuItemInfoW(HMENU,UINT,BOOL,const MENUITEMINFOW*); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2978 | #define SetMenuItemInfo WINELIB_NAME_AW(SetMenuItemInfo) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2979 | BOOL WINAPI SetWindowContextHelpId(HWND,DWORD); |
| 2980 | WORD WINAPI TileWindows (HWND, UINT, const LPRECT, |
| 2981 | UINT, const HWND *); |
Patrik Stridvall | 1ed4ecf | 1999-06-26 14:58:24 +0000 | [diff] [blame^] | 2982 | INT WINAPI ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2983 | BOOL WINAPI TrackPopupMenuEx(HMENU,UINT,INT,INT,HWND, |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2984 | LPTPMPARAMS); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2985 | UINT WINAPI UnpackDDElParam(UINT,UINT,UINT*,UINT*); |
Patrik Stridvall | 1ed4ecf | 1999-06-26 14:58:24 +0000 | [diff] [blame^] | 2986 | BOOL WINAPI UnregisterHotKey(HWND,INT); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 2987 | DWORD WINAPI WaitForInputIdle(HANDLE,DWORD); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2988 | VOID WINAPI keybd_event(BYTE,BYTE,DWORD,DWORD); |
| 2989 | VOID WINAPI mouse_event(DWORD,DWORD,DWORD,DWORD,DWORD); |
| 2990 | |
| 2991 | /* Declarations for functions that are the same in Win16 and Win32 */ |
| 2992 | VOID WINAPI EndMenu(void); |
| 2993 | DWORD WINAPI GetDialogBaseUnits(void); |
Francis Beaudet | ee3c1d7 | 1999-05-08 09:35:37 +0000 | [diff] [blame] | 2994 | BOOL WINAPI GetKeyboardState(LPBYTE); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 2995 | DWORD WINAPI GetMenuCheckMarkDimensions(void); |
| 2996 | LONG WINAPI GetMessageExtraInfo(void); |
| 2997 | DWORD WINAPI GetMessagePos(void); |
| 2998 | LONG WINAPI GetMessageTime(void); |
| 2999 | DWORD WINAPI GetTickCount(void); |
| 3000 | ATOM WINAPI GlobalDeleteAtom(ATOM); |
| 3001 | DWORD WINAPI OemKeyScan(WORD); |
Zygo Blaxell | 007f133 | 1999-04-15 16:40:16 +0000 | [diff] [blame] | 3002 | BOOL WINAPI ReleaseCapture(void); |
Francis Beaudet | ee3c1d7 | 1999-05-08 09:35:37 +0000 | [diff] [blame] | 3003 | BOOL WINAPI SetKeyboardState(LPBYTE); |
Patrik Stridvall | 9e61c1c | 1999-06-12 08:27:49 +0000 | [diff] [blame] | 3004 | VOID WINAPI WaitMessage(void); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3005 | |
| 3006 | |
| 3007 | /* Declarations for functions that change between Win16 and Win32 */ |
| 3008 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3009 | BOOL WINAPI AdjustWindowRect(LPRECT,DWORD,BOOL); |
| 3010 | BOOL WINAPI AdjustWindowRectEx(LPRECT,DWORD,BOOL,DWORD); |
| 3011 | #define AnsiLowerA CharLowerA |
| 3012 | #define AnsiLowerW CharLowerW |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3013 | #define AnsiLower WINELIB_NAME_AW(AnsiLower) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3014 | #define AnsiLowerBuffA CharLowerBuffA |
| 3015 | #define AnsiLowerBuffW CharLowerBuffW |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3016 | #define AnsiLowerBuff WINELIB_NAME_AW(AnsiLowerBuff) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3017 | #define AnsiNextA CharNextA |
| 3018 | #define AnsiNextW CharNextW |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3019 | #define AnsiNext WINELIB_NAME_AW(AnsiNext) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3020 | #define AnsiPrevA CharPrevA |
| 3021 | #define AnsiPrevW CharPrevW |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3022 | #define AnsiPrev WINELIB_NAME_AW(AnsiPrev) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3023 | #define AnsiUpperA CharUpperA |
| 3024 | #define AnsiUpperW CharUpperW |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3025 | #define AnsiUpper WINELIB_NAME_AW(AnsiUpper) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3026 | #define AnsiUpperBuffA CharUpperBuffA |
| 3027 | #define AnsiUpperBuffW CharUpperBuffW |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3028 | #define AnsiUpperBuff WINELIB_NAME_AW(AnsiUpperBuff) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3029 | BOOL WINAPI AnyPopup(void); |
| 3030 | BOOL WINAPI AppendMenuA(HMENU,UINT,UINT,LPCSTR); |
| 3031 | BOOL WINAPI AppendMenuW(HMENU,UINT,UINT,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3032 | #define AppendMenu WINELIB_NAME_AW(AppendMenu) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3033 | UINT WINAPI ArrangeIconicWindows(HWND); |
| 3034 | HDWP WINAPI BeginDeferWindowPos(INT); |
| 3035 | HDC WINAPI BeginPaint(HWND,LPPAINTSTRUCT); |
| 3036 | BOOL WINAPI BringWindowToTop(HWND); |
| 3037 | BOOL WINAPI CallMsgFilterA(LPMSG,INT); |
| 3038 | BOOL WINAPI CallMsgFilterW(LPMSG,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3039 | #define CallMsgFilter WINELIB_NAME_AW(CallMsgFilter) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3040 | LRESULT WINAPI CallNextHookEx(HHOOK,INT,WPARAM,LPARAM); |
| 3041 | LRESULT WINAPI CallWindowProcA(WNDPROC,HWND,UINT,WPARAM,LPARAM); |
| 3042 | LRESULT WINAPI CallWindowProcW(WNDPROC,HWND,UINT,WPARAM,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3043 | #define CallWindowProc WINELIB_NAME_AW(CallWindowProc) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3044 | BOOL WINAPI ChangeClipboardChain(HWND,HWND); |
| 3045 | BOOL WINAPI ChangeMenuA(HMENU,UINT,LPCSTR,UINT,UINT); |
| 3046 | BOOL WINAPI ChangeMenuW(HMENU,UINT,LPCWSTR,UINT,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3047 | #define ChangeMenu WINELIB_NAME_AW(ChangeMenu) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3048 | LPSTR WINAPI CharLowerA(LPSTR); |
| 3049 | LPWSTR WINAPI CharLowerW(LPWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3050 | #define CharLower WINELIB_NAME_AW(CharLower) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3051 | DWORD WINAPI CharLowerBuffA(LPSTR,DWORD); |
| 3052 | DWORD WINAPI CharLowerBuffW(LPWSTR,DWORD); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3053 | #define CharLowerBuff WINELIB_NAME_AW(CharLowerBuff) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3054 | LPSTR WINAPI CharNextA(LPCSTR); |
| 3055 | LPWSTR WINAPI CharNextW(LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3056 | #define CharNext WINELIB_NAME_AW(CharNext) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3057 | LPSTR WINAPI CharNextExA(WORD,LPCSTR,DWORD); |
| 3058 | LPWSTR WINAPI CharNextExW(WORD,LPCWSTR,DWORD); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3059 | #define CharNextEx WINELIB_NAME_AW(CharNextEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3060 | LPSTR WINAPI CharPrevA(LPCSTR,LPCSTR); |
| 3061 | LPWSTR WINAPI CharPrevW(LPCWSTR,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3062 | #define CharPrev WINELIB_NAME_AW(CharPrev) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3063 | LPSTR WINAPI CharPrevExA(WORD,LPCSTR,LPCSTR,DWORD); |
| 3064 | LPWSTR WINAPI CharPrevExW(WORD,LPCWSTR,LPCWSTR,DWORD); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3065 | #define CharPrevEx WINELIB_NAME_AW(CharPrevEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3066 | LPSTR WINAPI CharUpperA(LPSTR); |
| 3067 | LPWSTR WINAPI CharUpperW(LPWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3068 | #define CharUpper WINELIB_NAME_AW(CharUpper) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3069 | DWORD WINAPI CharUpperBuffA(LPSTR,DWORD); |
| 3070 | DWORD WINAPI CharUpperBuffW(LPWSTR,DWORD); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3071 | #define CharUpperBuff WINELIB_NAME_AW(CharUpperBuff) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3072 | BOOL WINAPI CharToOemA(LPCSTR,LPSTR); |
| 3073 | BOOL WINAPI CharToOemW(LPCWSTR,LPSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3074 | #define CharToOem WINELIB_NAME_AW(CharToOem) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3075 | BOOL WINAPI CharToOemBuffA(LPCSTR,LPSTR,DWORD); |
| 3076 | BOOL WINAPI CharToOemBuffW(LPCWSTR,LPSTR,DWORD); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3077 | #define CharToOemBuff WINELIB_NAME_AW(CharToOemBuff) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3078 | BOOL WINAPI CheckDlgButton(HWND,INT,UINT); |
| 3079 | DWORD WINAPI CheckMenuItem(HMENU,UINT,UINT); |
| 3080 | BOOL WINAPI CheckMenuRadioItem(HMENU,UINT,UINT,UINT,UINT); |
| 3081 | BOOL WINAPI CheckRadioButton(HWND,UINT,UINT,UINT); |
| 3082 | HWND WINAPI ChildWindowFromPoint(HWND,POINT); |
| 3083 | HWND WINAPI ChildWindowFromPointEx(HWND,POINT,UINT); |
Ove Kaaven | fab975e | 1999-03-21 15:43:22 +0000 | [diff] [blame] | 3084 | BOOL WINAPI ClearCommBreak(HANDLE); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3085 | BOOL WINAPI ClientToScreen(HWND,LPPOINT); |
| 3086 | BOOL WINAPI ClipCursor(const RECT*); |
| 3087 | BOOL WINAPI CloseClipboard(void); |
| 3088 | BOOL WINAPI CloseWindow(HWND); |
| 3089 | #define CopyCursor(cur) ((HCURSOR)CopyIcon((HICON)(cur))) |
| 3090 | HICON WINAPI CopyIcon(HICON); |
| 3091 | HICON WINAPI CopyImage(HANDLE,UINT,INT,INT,UINT); |
| 3092 | BOOL WINAPI CopyRect(RECT*,const RECT*); |
| 3093 | INT WINAPI CountClipboardFormats(void); |
| 3094 | BOOL WINAPI CreateCaret(HWND,HBITMAP,INT,INT); |
| 3095 | HCURSOR WINAPI CreateCursor(HINSTANCE,INT,INT,INT,INT,LPCVOID,LPCVOID); |
| 3096 | #define CreateDialogA(inst,ptr,hwnd,dlg) \ |
| 3097 | CreateDialogParamA(inst,ptr,hwnd,dlg,0) |
| 3098 | #define CreateDialogW(inst,ptr,hwnd,dlg) \ |
| 3099 | CreateDialogParamW(inst,ptr,hwnd,dlg,0) |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3100 | #define CreateDialog WINELIB_NAME_AW(CreateDialog) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3101 | #define CreateDialogIndirectA(inst,ptr,hwnd,dlg) \ |
| 3102 | CreateDialogIndirectParamA(inst,ptr,hwnd,dlg,0) |
| 3103 | #define CreateDialogIndirectW(inst,ptr,hwnd,dlg) \ |
| 3104 | CreateDialogIndirectParamW(inst,ptr,hwnd,dlg,0) |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3105 | #define CreateDialogIndirect WINELIB_NAME_AW(CreateDialogIndirect) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3106 | HWND WINAPI CreateDialogIndirectParamA(HINSTANCE,LPCVOID,HWND, |
| 3107 | DLGPROC,LPARAM); |
| 3108 | HWND WINAPI CreateDialogIndirectParamW(HINSTANCE,LPCVOID,HWND, |
| 3109 | DLGPROC,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3110 | #define CreateDialogIndirectParam WINELIB_NAME_AW(CreateDialogIndirectParam) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3111 | HWND WINAPI CreateDialogParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); |
| 3112 | HWND WINAPI CreateDialogParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3113 | #define CreateDialogParam WINELIB_NAME_AW(CreateDialogParam) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3114 | HICON WINAPI CreateIcon(HINSTANCE,INT,INT,BYTE,BYTE,LPCVOID,LPCVOID); |
| 3115 | HICON WINAPI CreateIconFromResource(LPBYTE,UINT,BOOL,DWORD); |
| 3116 | HICON WINAPI CreateIconFromResourceEx(LPBYTE,UINT,BOOL,DWORD,INT,INT,UINT); |
| 3117 | HMENU WINAPI CreateMenu(void); |
| 3118 | HMENU WINAPI CreatePopupMenu(void); |
| 3119 | #define CreateWindowA(className,titleName,style,x,y,width,height,\ |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3120 | parent,menu,instance,param) \ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3121 | CreateWindowExA(0,className,titleName,style,x,y,width,height,\ |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3122 | parent,menu,instance,param) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3123 | #define CreateWindowW(className,titleName,style,x,y,width,height,\ |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3124 | parent,menu,instance,param) \ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3125 | CreateWindowExW(0,className,titleName,style,x,y,width,height,\ |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3126 | parent,menu,instance,param) |
| 3127 | #define CreateWindow WINELIB_NAME_AW(CreateWindow) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3128 | HWND WINAPI CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,INT,INT, |
| 3129 | INT,INT,HWND,HMENU,HINSTANCE,LPVOID); |
| 3130 | HWND WINAPI CreateWindowExW(DWORD,LPCWSTR,LPCWSTR,DWORD,INT,INT, |
| 3131 | INT,INT,HWND,HMENU,HINSTANCE,LPVOID); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3132 | #define CreateWindowEx WINELIB_NAME_AW(CreateWindowEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3133 | HWND WINAPI CreateMDIWindowA(LPCSTR,LPCSTR,DWORD,INT,INT, |
| 3134 | INT,INT,HWND,HINSTANCE,LPARAM); |
| 3135 | HWND WINAPI CreateMDIWindowW(LPCWSTR,LPCWSTR,DWORD,INT,INT, |
| 3136 | INT,INT,HWND,HINSTANCE,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3137 | #define CreateMDIWindow WINELIB_NAME_AW(CreateMDIWindow) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3138 | LRESULT WINAPI DefDlgProcA(HWND,UINT,WPARAM,LPARAM); |
| 3139 | LRESULT WINAPI DefDlgProcW(HWND,UINT,WPARAM,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3140 | #define DefDlgProc WINELIB_NAME_AW(DefDlgProc) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3141 | HDWP WINAPI DeferWindowPos(HDWP,HWND,HWND,INT,INT,INT,INT,UINT); |
| 3142 | LRESULT WINAPI DefFrameProcA(HWND,HWND,UINT,WPARAM,LPARAM); |
| 3143 | LRESULT WINAPI DefFrameProcW(HWND,HWND,UINT,WPARAM,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3144 | #define DefFrameProc WINELIB_NAME_AW(DefFrameProc) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3145 | #define DefHookProc(code,wparam,lparam,phhook) \ |
| 3146 | CallNextHookEx(*(phhook),code,wparam,lparam) |
| 3147 | LRESULT WINAPI DefMDIChildProcA(HWND,UINT,WPARAM,LPARAM); |
| 3148 | LRESULT WINAPI DefMDIChildProcW(HWND,UINT,WPARAM,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3149 | #define DefMDIChildProc WINELIB_NAME_AW(DefMDIChildProc) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3150 | LRESULT WINAPI DefWindowProcA(HWND,UINT,WPARAM,LPARAM); |
| 3151 | LRESULT WINAPI DefWindowProcW(HWND,UINT,WPARAM,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3152 | #define DefWindowProc WINELIB_NAME_AW(DefWindowProc) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3153 | BOOL WINAPI DeleteMenu(HMENU,UINT,UINT); |
| 3154 | BOOL WINAPI DestroyCaret(void); |
| 3155 | BOOL WINAPI DestroyCursor(HCURSOR); |
| 3156 | BOOL WINAPI DestroyIcon(HICON); |
| 3157 | BOOL WINAPI DestroyMenu(HMENU); |
| 3158 | BOOL WINAPI DestroyWindow(HWND); |
| 3159 | #define DialogBoxA(inst,template,owner,func) \ |
| 3160 | DialogBoxParamA(inst,template,owner,func,0) |
| 3161 | #define DialogBoxW(inst,template,owner,func) \ |
| 3162 | DialogBoxParamW(inst,template,owner,func,0) |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3163 | #define DialogBox WINELIB_NAME_AW(DialogBox) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3164 | #define DialogBoxIndirectA(inst,template,owner,func) \ |
| 3165 | DialogBoxIndirectParamA(inst,template,owner,func,0) |
| 3166 | #define DialogBoxIndirectW(inst,template,owner,func) \ |
| 3167 | DialogBoxIndirectParamW(inst,template,owner,func,0) |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3168 | #define DialogBoxIndirect WINELIB_NAME_AW(DialogBoxIndirect) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3169 | INT WINAPI DialogBoxIndirectParamA(HINSTANCE,LPCVOID,HWND,DLGPROC,LPARAM); |
| 3170 | INT WINAPI DialogBoxIndirectParamW(HINSTANCE,LPCVOID,HWND,DLGPROC,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3171 | #define DialogBoxIndirectParam WINELIB_NAME_AW(DialogBoxIndirectParam) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3172 | INT WINAPI DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); |
| 3173 | INT WINAPI DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3174 | #define DialogBoxParam WINELIB_NAME_AW(DialogBoxParam) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3175 | LONG WINAPI DispatchMessageA(const MSG*); |
| 3176 | LONG WINAPI DispatchMessageW(const MSG*); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3177 | #define DispatchMessage WINELIB_NAME_AW(DispatchMessage) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3178 | INT WINAPI DlgDirListA(HWND,LPSTR,INT,INT,UINT); |
| 3179 | INT WINAPI DlgDirListW(HWND,LPWSTR,INT,INT,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3180 | #define DlgDirList WINELIB_NAME_AW(DlgDirList) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3181 | INT WINAPI DlgDirListComboBoxA(HWND,LPSTR,INT,INT,UINT); |
| 3182 | INT WINAPI DlgDirListComboBoxW(HWND,LPWSTR,INT,INT,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3183 | #define DlgDirListComboBox WINELIB_NAME_AW(DlgDirListComboBox) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3184 | BOOL WINAPI DlgDirSelectComboBoxExA(HWND,LPSTR,INT,INT); |
| 3185 | BOOL WINAPI DlgDirSelectComboBoxExW(HWND,LPWSTR,INT,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3186 | #define DlgDirSelectComboBoxEx WINELIB_NAME_AW(DlgDirSelectComboBoxEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3187 | BOOL WINAPI DlgDirSelectExA(HWND,LPSTR,INT,INT); |
| 3188 | BOOL WINAPI DlgDirSelectExW(HWND,LPWSTR,INT,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3189 | #define DlgDirSelectEx WINELIB_NAME_AW(DlgDirSelectEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3190 | BOOL WINAPI DragDetect(HWND,POINT); |
| 3191 | DWORD WINAPI DragObject(HWND,HWND,UINT,DWORD,HCURSOR); |
| 3192 | BOOL WINAPI DrawAnimatedRects(HWND,int,const RECT*,const RECT*); |
| 3193 | BOOL WINAPI DrawCaption(HWND,HDC,const RECT*,UINT); |
| 3194 | BOOL WINAPI DrawCaptionTempA(HWND,HDC,const RECT*,HFONT,HICON,LPCSTR,UINT); |
| 3195 | BOOL WINAPI DrawCaptionTempW(HWND,HDC,const RECT*,HFONT,HICON,LPCWSTR,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3196 | #define DrawCaptionTemp WINELIB_NAME_AW(DrawCaptionTemp) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3197 | BOOL WINAPI DrawEdge(HDC,LPRECT,UINT,UINT); |
| 3198 | BOOL WINAPI DrawFocusRect(HDC,const RECT*); |
| 3199 | BOOL WINAPI DrawFrameControl(HDC,LPRECT,UINT,UINT); |
| 3200 | BOOL WINAPI DrawIcon(HDC,INT,INT,HICON); |
| 3201 | BOOL WINAPI DrawIconEx(HDC,INT,INT,HICON,INT,INT, |
| 3202 | UINT,HBRUSH,UINT); |
| 3203 | BOOL WINAPI DrawMenuBar(HWND); |
| 3204 | BOOL WINAPI DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,INT,INT,INT,INT,UINT); |
| 3205 | BOOL WINAPI DrawStateW(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,INT,INT,INT,INT,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3206 | #define DrawState WINELIB_NAME_AW(DrawState) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3207 | INT WINAPI DrawTextA(HDC,LPCSTR,INT,LPRECT,UINT); |
| 3208 | INT WINAPI DrawTextW(HDC,LPCWSTR,INT,LPRECT,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3209 | #define DrawText WINELIB_NAME_AW(DrawText) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3210 | BOOL WINAPI EmptyClipboard(void); |
| 3211 | UINT WINAPI EnableMenuItem(HMENU,UINT,UINT); |
| 3212 | BOOL WINAPI EnableScrollBar(HWND,INT,UINT); |
| 3213 | BOOL WINAPI EnableWindow(HWND,BOOL); |
| 3214 | BOOL WINAPI EndDeferWindowPos(HDWP); |
| 3215 | BOOL WINAPI EndDialog(HWND,INT); |
| 3216 | BOOL WINAPI EndPaint(HWND,const PAINTSTRUCT*); |
| 3217 | BOOL WINAPI EnumChildWindows(HWND,WNDENUMPROC,LPARAM); |
| 3218 | UINT WINAPI EnumClipboardFormats(UINT); |
| 3219 | INT WINAPI EnumPropsA(HWND,PROPENUMPROCA); |
| 3220 | INT WINAPI EnumPropsW(HWND,PROPENUMPROCW); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3221 | #define EnumProps WINELIB_NAME_AW(EnumProps) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3222 | BOOL WINAPI EnumWindows(WNDENUMPROC,LPARAM); |
| 3223 | BOOL WINAPI EqualRect(const RECT*,const RECT*); |
Ove Kaaven | fab975e | 1999-03-21 15:43:22 +0000 | [diff] [blame] | 3224 | BOOL WINAPI EscapeCommFunction(HANDLE,UINT); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3225 | INT WINAPI ExcludeUpdateRgn(HDC,HWND); |
| 3226 | #define ExitWindows(a,b) ExitWindowsEx(EWX_LOGOFF,0xffffffff) |
| 3227 | INT WINAPI FillRect(HDC,const RECT*,HBRUSH); |
| 3228 | HWND WINAPI FindWindowA(LPCSTR,LPCSTR); |
| 3229 | HWND WINAPI FindWindowW(LPCWSTR,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3230 | #define FindWindow WINELIB_NAME_AW(FindWindow) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3231 | HWND WINAPI FindWindowExA(HWND,HWND,LPCSTR,LPCSTR); |
| 3232 | HWND WINAPI FindWindowExW(HWND,HWND,LPCWSTR,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3233 | #define FindWindowEx WINELIB_NAME_AW(FindWindowEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3234 | BOOL WINAPI FlashWindow(HWND,BOOL); |
| 3235 | INT WINAPI FrameRect(HDC,const RECT*,HBRUSH); |
| 3236 | HWND WINAPI GetActiveWindow(void); |
| 3237 | DWORD WINAPI GetAppCompatFlags(HTASK); |
| 3238 | WORD WINAPI GetAsyncKeyState(INT); |
| 3239 | HWND WINAPI GetCapture(void); |
| 3240 | UINT WINAPI GetCaretBlinkTime(void); |
| 3241 | BOOL WINAPI GetCaretPos(LPPOINT); |
| 3242 | BOOL WINAPI GetClassInfoA(HINSTANCE,LPCSTR,WNDCLASSA *); |
| 3243 | BOOL WINAPI GetClassInfoW(HINSTANCE,LPCWSTR,WNDCLASSW *); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3244 | #define GetClassInfo WINELIB_NAME_AW(GetClassInfo) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3245 | BOOL WINAPI GetClassInfoExA(HINSTANCE,LPCSTR,WNDCLASSEXA *); |
| 3246 | BOOL WINAPI GetClassInfoExW(HINSTANCE,LPCWSTR,WNDCLASSEXW *); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3247 | #define GetClassInfoEx WINELIB_NAME_AW(GetClassInfoEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3248 | LONG WINAPI GetClassLongA(HWND,INT); |
| 3249 | LONG WINAPI GetClassLongW(HWND,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3250 | #define GetClassLong WINELIB_NAME_AW(GetClassLong) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3251 | INT WINAPI GetClassNameA(HWND,LPSTR,INT); |
| 3252 | INT WINAPI GetClassNameW(HWND,LPWSTR,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3253 | #define GetClassName WINELIB_NAME_AW(GetClassName) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3254 | WORD WINAPI GetClassWord(HWND,INT); |
| 3255 | BOOL WINAPI GetClientRect(HWND,LPRECT); |
| 3256 | HANDLE WINAPI GetClipboardData(UINT); |
| 3257 | INT WINAPI GetClipboardFormatNameA(UINT,LPSTR,INT); |
| 3258 | INT WINAPI GetClipboardFormatNameW(UINT,LPWSTR,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3259 | #define GetClipboardFormatName WINELIB_NAME_AW(GetClipboardFormatName) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3260 | HWND WINAPI GetClipboardOwner(void); |
| 3261 | HWND WINAPI GetClipboardViewer(void); |
| 3262 | BOOL WINAPI GetClipCursor(LPRECT); |
| 3263 | #define GetCurrentTime() GetTickCount() |
| 3264 | HCURSOR WINAPI GetCursor(void); |
| 3265 | BOOL WINAPI GetCursorPos(LPPOINT); |
| 3266 | HDC WINAPI GetDC(HWND); |
| 3267 | HDC WINAPI GetDCEx(HWND,HRGN,DWORD); |
| 3268 | HWND WINAPI GetDesktopWindow(void); |
| 3269 | INT WINAPI GetDlgCtrlID(HWND); |
| 3270 | HWND WINAPI GetDlgItem(HWND,INT); |
| 3271 | UINT WINAPI GetDlgItemInt(HWND,INT,BOOL*,BOOL); |
| 3272 | INT WINAPI GetDlgItemTextA(HWND,INT,LPSTR,UINT); |
| 3273 | INT WINAPI GetDlgItemTextW(HWND,INT,LPWSTR,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3274 | #define GetDlgItemText WINELIB_NAME_AW(GetDlgItemText) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3275 | UINT WINAPI GetDoubleClickTime(void); |
| 3276 | HWND WINAPI GetFocus(void); |
| 3277 | HWND WINAPI GetForegroundWindow(void); |
| 3278 | BOOL WINAPI GetInputState(void); |
| 3279 | UINT WINAPI GetInternalWindowPos(HWND,LPRECT,LPPOINT); |
| 3280 | UINT WINAPI GetKBCodePage(void); |
| 3281 | INT WINAPI GetKeyboardType(INT); |
| 3282 | INT WINAPI GetKeyNameTextA(LONG,LPSTR,INT); |
| 3283 | INT WINAPI GetKeyNameTextW(LONG,LPWSTR,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3284 | #define GetKeyNameText WINELIB_NAME_AW(GetKeyNameText) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3285 | INT WINAPI GetKeyboardLayoutNameA(LPSTR); |
| 3286 | INT WINAPI GetKeyboardLayoutNameW(LPWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3287 | #define GetKeyboardLayoutName WINELIB_NAME_AW(GetKeyboardLayoutName) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3288 | INT16 WINAPI GetKeyState(INT); |
| 3289 | HWND WINAPI GetLastActivePopup(HWND); |
| 3290 | HMENU WINAPI GetMenu(HWND); |
| 3291 | INT WINAPI GetMenuItemCount(HMENU); |
| 3292 | UINT WINAPI GetMenuItemID(HMENU,INT); |
| 3293 | BOOL WINAPI GetMenuItemRect(HWND,HMENU,UINT,LPRECT); |
| 3294 | UINT WINAPI GetMenuState(HMENU,UINT,UINT); |
| 3295 | INT WINAPI GetMenuStringA(HMENU,UINT,LPSTR,INT,UINT); |
| 3296 | INT WINAPI GetMenuStringW(HMENU,UINT,LPWSTR,INT,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3297 | #define GetMenuString WINELIB_NAME_AW(GetMenuString) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3298 | BOOL WINAPI GetMessageA(LPMSG,HWND,UINT,UINT); |
| 3299 | BOOL WINAPI GetMessageW(LPMSG,HWND,UINT,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3300 | #define GetMessage WINELIB_NAME_AW(GetMessage) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3301 | HWND WINAPI GetNextDlgGroupItem(HWND,HWND,BOOL); |
| 3302 | HWND WINAPI GetNextDlgTabItem(HWND,HWND,BOOL); |
| 3303 | #define GetNextWindow GetWindow |
| 3304 | HWND WINAPI GetOpenClipboardWindow(void); |
| 3305 | HWND WINAPI GetParent(HWND); |
| 3306 | INT WINAPI GetPriorityClipboardFormat(UINT*,INT); |
| 3307 | HANDLE WINAPI GetPropA(HWND,LPCSTR); |
| 3308 | HANDLE WINAPI GetPropW(HWND,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3309 | #define GetProp WINELIB_NAME_AW(GetProp) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3310 | DWORD WINAPI GetQueueStatus(UINT); |
| 3311 | BOOL WINAPI GetScrollInfo(HWND,INT,LPSCROLLINFO); |
| 3312 | INT WINAPI GetScrollPos(HWND,INT); |
| 3313 | BOOL WINAPI GetScrollRange(HWND,INT,LPINT,LPINT); |
| 3314 | HWND WINAPI GetShellWindow(void); |
| 3315 | HMENU WINAPI GetSubMenu(HMENU,INT); |
| 3316 | COLORREF WINAPI GetSysColor(INT); |
| 3317 | HBRUSH WINAPI GetSysColorBrush(INT); |
| 3318 | #define GetSysModalWindow() ((HWND)0) |
| 3319 | HMENU WINAPI GetSystemMenu(HWND,BOOL); |
| 3320 | INT WINAPI GetSystemMetrics(INT); |
| 3321 | DWORD WINAPI GetTabbedTextExtentA(HDC,LPCSTR,INT,INT,const INT*); |
| 3322 | DWORD WINAPI GetTabbedTextExtentW(HDC,LPCWSTR,INT,INT,const INT*); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3323 | #define GetTabbedTextExtent WINELIB_NAME_AW(GetTabbedTextExtent) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3324 | HWND WINAPI GetTopWindow(HWND); |
| 3325 | BOOL WINAPI GetUpdateRect(HWND,LPRECT,BOOL); |
| 3326 | INT WINAPI GetUpdateRgn(HWND,HRGN,BOOL); |
| 3327 | HWND WINAPI GetWindow(HWND,WORD); |
| 3328 | HDC WINAPI GetWindowDC(HWND); |
| 3329 | LONG WINAPI GetWindowLongA(HWND,INT); |
| 3330 | LONG WINAPI GetWindowLongW(HWND,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3331 | #define GetWindowLong WINELIB_NAME_AW(GetWindowLong) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3332 | BOOL WINAPI GetWindowPlacement(HWND,LPWINDOWPLACEMENT); |
| 3333 | BOOL WINAPI GetWindowRect(HWND,LPRECT); |
| 3334 | INT WINAPI GetWindowRgn(HWND,HRGN); |
| 3335 | #define GetWindowTask(hwnd) ((HTASK)GetWindowThreadProcessId(hwnd,NULL)) |
| 3336 | INT WINAPI GetWindowTextA(HWND,LPSTR,INT); |
| 3337 | INT WINAPI GetWindowTextW(HWND,LPWSTR,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3338 | #define GetWindowText WINELIB_NAME_AW(GetWindowText) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3339 | INT WINAPI GetWindowTextLengthA(HWND); |
| 3340 | INT WINAPI GetWindowTextLengthW(HWND); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3341 | #define GetWindowTextLength WINELIB_NAME_AW(GetWindowTextLength) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3342 | WORD WINAPI GetWindowWord(HWND,INT); |
| 3343 | ATOM WINAPI GlobalAddAtomA(LPCSTR); |
| 3344 | ATOM WINAPI GlobalAddAtomW(LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3345 | #define GlobalAddAtom WINELIB_NAME_AW(GlobalAddAtom) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3346 | ATOM WINAPI GlobalFindAtomA(LPCSTR); |
| 3347 | ATOM WINAPI GlobalFindAtomW(LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3348 | #define GlobalFindAtom WINELIB_NAME_AW(GlobalFindAtom) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3349 | UINT WINAPI GlobalGetAtomNameA(ATOM,LPSTR,INT); |
| 3350 | UINT WINAPI GlobalGetAtomNameW(ATOM,LPWSTR,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3351 | #define GlobalGetAtomName WINELIB_NAME_AW(GlobalGetAtomName) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3352 | BOOL WINAPI GrayStringA(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM, |
| 3353 | INT,INT,INT,INT,INT); |
| 3354 | BOOL WINAPI GrayStringW(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM, |
| 3355 | INT,INT,INT,INT,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3356 | #define GrayString WINELIB_NAME_AW(GrayString) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3357 | BOOL WINAPI HideCaret(HWND); |
| 3358 | BOOL WINAPI HiliteMenuItem(HWND,HMENU,UINT,UINT); |
| 3359 | BOOL WINAPI InflateRect(LPRECT,INT,INT); |
| 3360 | BOOL WINAPI InSendMessage(void); |
| 3361 | BOOL WINAPI InsertMenuA(HMENU,UINT,UINT,UINT,LPCSTR); |
| 3362 | BOOL WINAPI InsertMenuW(HMENU,UINT,UINT,UINT,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3363 | #define InsertMenu WINELIB_NAME_AW(InsertMenu) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3364 | BOOL WINAPI InsertMenuItemA(HMENU,UINT,BOOL,const MENUITEMINFOA*); |
| 3365 | BOOL WINAPI InsertMenuItemW(HMENU,UINT,BOOL,const MENUITEMINFOW*); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3366 | #define InsertMenuItem WINELIB_NAME_AW(InsertMenuItem) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3367 | BOOL WINAPI IntersectRect(LPRECT,const RECT*,const RECT*); |
| 3368 | BOOL WINAPI InvalidateRect(HWND,const RECT*,BOOL); |
| 3369 | BOOL WINAPI InvalidateRgn(HWND,HRGN,BOOL); |
| 3370 | BOOL WINAPI InvertRect(HDC,const RECT*); |
| 3371 | BOOL WINAPI IsCharAlphaA(CHAR); |
| 3372 | BOOL WINAPI IsCharAlphaW(WCHAR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3373 | #define IsCharAlpha WINELIB_NAME_AW(IsCharAlpha) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3374 | BOOL WINAPI IsCharAlphaNumericA(CHAR); |
| 3375 | BOOL WINAPI IsCharAlphaNumericW(WCHAR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3376 | #define IsCharAlphaNumeric WINELIB_NAME_AW(IsCharAlphaNumeric) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3377 | BOOL WINAPI IsCharLowerA(CHAR); |
| 3378 | BOOL WINAPI IsCharLowerW(WCHAR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3379 | #define IsCharLower WINELIB_NAME_AW(IsCharLower) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3380 | BOOL WINAPI IsCharUpperA(CHAR); |
| 3381 | BOOL WINAPI IsCharUpperW(WCHAR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3382 | #define IsCharUpper WINELIB_NAME_AW(IsCharUpper) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3383 | BOOL WINAPI IsChild(HWND,HWND); |
| 3384 | BOOL WINAPI IsClipboardFormatAvailable(UINT); |
| 3385 | BOOL WINAPI IsDialogMessageA(HWND,LPMSG); |
| 3386 | BOOL WINAPI IsDialogMessageW(HWND,LPMSG); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3387 | #define IsDialogMessage WINELIB_NAME_AW(IsDialogMessage) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3388 | UINT WINAPI IsDlgButtonChecked(HWND,UINT); |
| 3389 | BOOL WINAPI IsIconic(HWND); |
| 3390 | BOOL WINAPI IsMenu(HMENU); |
| 3391 | BOOL WINAPI IsRectEmpty(const RECT*); |
| 3392 | BOOL WINAPI IsWindow(HWND); |
| 3393 | BOOL WINAPI IsWindowEnabled(HWND); |
| 3394 | BOOL WINAPI IsWindowVisible(HWND); |
| 3395 | BOOL WINAPI IsZoomed(HWND); |
| 3396 | BOOL WINAPI KillSystemTimer(HWND,UINT); |
| 3397 | BOOL WINAPI KillTimer(HWND,UINT); |
| 3398 | HACCEL WINAPI LoadAcceleratorsA(HINSTANCE,LPCSTR); |
| 3399 | HACCEL WINAPI LoadAcceleratorsW(HINSTANCE,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3400 | #define LoadAccelerators WINELIB_NAME_AW(LoadAccelerators) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3401 | HBITMAP WINAPI LoadBitmapA(HANDLE,LPCSTR); |
| 3402 | HBITMAP WINAPI LoadBitmapW(HANDLE,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3403 | #define LoadBitmap WINELIB_NAME_AW(LoadBitmap) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3404 | HCURSOR WINAPI LoadCursorA(HINSTANCE,LPCSTR); |
| 3405 | HCURSOR WINAPI LoadCursorW(HINSTANCE,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3406 | #define LoadCursor WINELIB_NAME_AW(LoadCursor) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3407 | HCURSOR WINAPI LoadCursorFromFileA(LPCSTR); |
| 3408 | HCURSOR WINAPI LoadCursorFromFileW(LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3409 | #define LoadCursorFromFile WINELIB_NAME_AW(LoadCursorFromFile) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3410 | HICON WINAPI LoadIconA(HINSTANCE,LPCSTR); |
| 3411 | HICON WINAPI LoadIconW(HINSTANCE,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3412 | #define LoadIcon WINELIB_NAME_AW(LoadIcon) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3413 | HANDLE WINAPI LoadImageA(HINSTANCE,LPCSTR,UINT,INT,INT,UINT); |
| 3414 | HANDLE WINAPI LoadImageW(HINSTANCE,LPCWSTR,UINT,INT,INT,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3415 | #define LoadImage WINELIB_NAME_AW(LoadImage) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3416 | HMENU WINAPI LoadMenuA(HINSTANCE,LPCSTR); |
| 3417 | HMENU WINAPI LoadMenuW(HINSTANCE,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3418 | #define LoadMenu WINELIB_NAME_AW(LoadMenu) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3419 | HMENU WINAPI LoadMenuIndirectA(LPCVOID); |
| 3420 | HMENU WINAPI LoadMenuIndirectW(LPCVOID); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3421 | #define LoadMenuIndirect WINELIB_NAME_AW(LoadMenuIndirect) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3422 | INT WINAPI LoadStringA(HINSTANCE,UINT,LPSTR,INT); |
| 3423 | INT WINAPI LoadStringW(HINSTANCE,UINT,LPWSTR,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3424 | #define LoadString WINELIB_NAME_AW(LoadString) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3425 | BOOL WINAPI LockWindowUpdate(HWND); |
| 3426 | INT WINAPI LookupIconIdFromDirectory(LPBYTE,BOOL); |
| 3427 | INT WINAPI LookupIconIdFromDirectoryEx(LPBYTE,BOOL,INT,INT,UINT); |
| 3428 | UINT WINAPI MapVirtualKeyA(UINT,UINT); |
| 3429 | UINT WINAPI MapVirtualKeyW(UINT,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3430 | #define MapVirtualKey WINELIB_NAME_AW(MapVirtualKey) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3431 | UINT WINAPI MapVirtualKeyEx32A(UINT,UINT,HKL); |
Marcus Meissner | 592c910 | 1999-02-13 08:53:22 +0000 | [diff] [blame] | 3432 | #define MapVirtualKeyEx WINELIB_NAME_AW(MapVirtualKeyEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3433 | BOOL WINAPI MapDialogRect(HWND,LPRECT); |
| 3434 | INT WINAPI MapWindowPoints(HWND,HWND,LPPOINT,UINT); |
| 3435 | BOOL WINAPI MessageBeep(UINT); |
| 3436 | INT WINAPI MessageBoxA(HWND,LPCSTR,LPCSTR,UINT); |
| 3437 | INT WINAPI MessageBoxW(HWND,LPCWSTR,LPCWSTR,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3438 | #define MessageBox WINELIB_NAME_AW(MessageBox) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3439 | INT WINAPI MessageBoxIndirectA(LPMSGBOXPARAMSA); |
| 3440 | INT WINAPI MessageBoxIndirectW(LPMSGBOXPARAMSW); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3441 | #define MessageBoxIndirect WINELIB_NAME_AW(MessageBoxIndirect) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3442 | BOOL WINAPI ModifyMenuA(HMENU,UINT,UINT,UINT,LPCSTR); |
| 3443 | BOOL WINAPI ModifyMenuW(HMENU,UINT,UINT,UINT,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3444 | #define ModifyMenu WINELIB_NAME_AW(ModifyMenu) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3445 | BOOL WINAPI MoveWindow(HWND,INT,INT,INT,INT,BOOL); |
| 3446 | BOOL WINAPI OemToCharA(LPCSTR,LPSTR); |
| 3447 | BOOL WINAPI OemToCharW(LPCSTR,LPWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3448 | #define OemToChar WINELIB_NAME_AW(OemToChar) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3449 | BOOL WINAPI OemToCharBuffA(LPCSTR,LPSTR,DWORD); |
| 3450 | BOOL WINAPI OemToCharBuffW(LPCSTR,LPWSTR,DWORD); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3451 | #define OemToCharBuff WINELIB_NAME_AW(OemToCharBuff) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3452 | BOOL WINAPI OffsetRect(LPRECT,INT,INT); |
| 3453 | BOOL WINAPI OpenClipboard(HWND); |
| 3454 | BOOL WINAPI OpenIcon(HWND); |
| 3455 | BOOL WINAPI PeekMessageA(LPMSG,HWND,UINT,UINT,UINT); |
| 3456 | BOOL WINAPI PeekMessageW(LPMSG,HWND,UINT,UINT,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3457 | #define PeekMessage WINELIB_NAME_AW(PeekMessage) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3458 | #define PostAppMessageA(thread,msg,wparam,lparam) \ |
| 3459 | PostThreadMessageA((DWORD)(thread),msg,wparam,lparam) |
| 3460 | #define PostAppMessageW(thread,msg,wparam,lparam) \ |
| 3461 | PostThreadMessageW((DWORD)(thread),msg,wparam,lparam) |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3462 | #define PostAppMessage WINELIB_NAME_AW(PostAppMessage) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3463 | BOOL WINAPI PostMessageA(HWND,UINT,WPARAM,LPARAM); |
| 3464 | BOOL WINAPI PostMessageW(HWND,UINT,WPARAM,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3465 | #define PostMessage WINELIB_NAME_AW(PostMessage) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3466 | void WINAPI PostQuitMessage(INT); |
| 3467 | BOOL WINAPI PtInRect(const RECT*,POINT); |
| 3468 | BOOL WINAPI RedrawWindow(HWND,const RECT*,HRGN,UINT); |
| 3469 | ATOM WINAPI RegisterClassA(const WNDCLASSA *); |
| 3470 | ATOM WINAPI RegisterClassW(const WNDCLASSW *); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3471 | #define RegisterClass WINELIB_NAME_AW(RegisterClass) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3472 | ATOM WINAPI RegisterClassExA(const WNDCLASSEXA *); |
| 3473 | ATOM WINAPI RegisterClassExW(const WNDCLASSEXW *); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3474 | #define RegisterClassEx WINELIB_NAME_AW(RegisterClassEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3475 | UINT WINAPI RegisterClipboardFormatA(LPCSTR); |
| 3476 | UINT WINAPI RegisterClipboardFormatW(LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3477 | #define RegisterClipboardFormat WINELIB_NAME_AW(RegisterClipboardFormat) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3478 | WORD WINAPI RegisterWindowMessageA(LPCSTR); |
| 3479 | WORD WINAPI RegisterWindowMessageW(LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3480 | #define RegisterWindowMessage WINELIB_NAME_AW(RegisterWindowMessage) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3481 | INT WINAPI ReleaseDC(HWND,HDC); |
| 3482 | BOOL WINAPI RemoveMenu(HMENU,UINT,UINT); |
| 3483 | HANDLE WINAPI RemovePropA(HWND,LPCSTR); |
| 3484 | HANDLE WINAPI RemovePropW(HWND,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3485 | #define RemoveProp WINELIB_NAME_AW(RemoveProp) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3486 | BOOL WINAPI ReplyMessage(LRESULT); |
| 3487 | BOOL WINAPI ScreenToClient(HWND,LPPOINT); |
| 3488 | VOID WINAPI ScrollChildren(HWND,UINT,WPARAM,LPARAM); |
| 3489 | BOOL WINAPI ScrollDC(HDC,INT,INT,const RECT*,const RECT*, |
| 3490 | HRGN,LPRECT); |
| 3491 | BOOL WINAPI ScrollWindow(HWND,INT,INT,const RECT*,const RECT*); |
| 3492 | INT WINAPI ScrollWindowEx(HWND,INT,INT,const RECT*, |
| 3493 | const RECT*,HRGN,LPRECT,UINT); |
| 3494 | LRESULT WINAPI SendDlgItemMessageA(HWND,INT,UINT,WPARAM,LPARAM); |
| 3495 | LRESULT WINAPI SendDlgItemMessageW(HWND,INT,UINT,WPARAM,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3496 | #define SendDlgItemMessage WINELIB_NAME_AW(SendDlgItemMessage) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3497 | LRESULT WINAPI SendMessageA(HWND,UINT,WPARAM,LPARAM); |
| 3498 | LRESULT WINAPI SendMessageW(HWND,UINT,WPARAM,LPARAM); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3499 | #define SendMessage WINELIB_NAME_AW(SendMessage) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3500 | LRESULT WINAPI SendMessageTimeoutA(HWND,UINT,WPARAM,LPARAM,UINT, |
| 3501 | UINT,LPDWORD); |
| 3502 | LRESULT WINAPI SendMessageTimeoutW(HWND,UINT,WPARAM,LPARAM,UINT, |
| 3503 | UINT,LPDWORD); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3504 | #define SendMessageTimeout WINELIB_NAME_AW(SendMessageTimeout) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3505 | HWND WINAPI SetActiveWindow(HWND); |
| 3506 | HWND WINAPI SetCapture(HWND); |
| 3507 | BOOL WINAPI SetCaretBlinkTime(UINT); |
| 3508 | BOOL WINAPI SetCaretPos(INT,INT); |
| 3509 | LONG WINAPI SetClassLongA(HWND,INT,LONG); |
| 3510 | LONG WINAPI SetClassLongW(HWND,INT,LONG); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3511 | #define SetClassLong WINELIB_NAME_AW(SetClassLong) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3512 | WORD WINAPI SetClassWord(HWND,INT,WORD); |
| 3513 | HANDLE WINAPI SetClipboardData(UINT,HANDLE); |
| 3514 | HWND WINAPI SetClipboardViewer(HWND); |
Ove Kaaven | fab975e | 1999-03-21 15:43:22 +0000 | [diff] [blame] | 3515 | BOOL WINAPI SetCommBreak(HANDLE); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3516 | HCURSOR WINAPI SetCursor(HCURSOR); |
| 3517 | BOOL WINAPI SetCursorPos(INT,INT); |
| 3518 | BOOL WINAPI SetDeskWallPaper(LPCSTR); |
| 3519 | BOOL WINAPI SetDlgItemInt(HWND,INT,UINT,BOOL); |
| 3520 | BOOL WINAPI SetDlgItemTextA(HWND,INT,LPCSTR); |
| 3521 | BOOL WINAPI SetDlgItemTextW(HWND,INT,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3522 | #define SetDlgItemText WINELIB_NAME_AW(SetDlgItemText) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3523 | BOOL WINAPI SetDoubleClickTime(UINT); |
| 3524 | HWND WINAPI SetFocus(HWND); |
| 3525 | BOOL WINAPI SetForegroundWindow(HWND); |
| 3526 | void WINAPI SetInternalWindowPos(HWND,UINT,LPRECT,LPPOINT); |
| 3527 | BOOL WINAPI SetMenu(HWND,HMENU); |
| 3528 | BOOL WINAPI SetMenuContextHelpId(HMENU,DWORD); |
| 3529 | BOOL WINAPI SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP); |
| 3530 | BOOL WINAPI SetMessageQueue(INT); |
| 3531 | HWND WINAPI SetParent(HWND,HWND); |
| 3532 | BOOL WINAPI SetPropA(HWND,LPCSTR,HANDLE); |
| 3533 | BOOL WINAPI SetPropW(HWND,LPCWSTR,HANDLE); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3534 | #define SetProp WINELIB_NAME_AW(SetProp) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3535 | BOOL WINAPI SetRect(LPRECT,INT,INT,INT,INT); |
| 3536 | BOOL WINAPI SetRectEmpty(LPRECT); |
| 3537 | INT WINAPI SetScrollInfo(HWND,INT,const SCROLLINFO*,BOOL); |
| 3538 | INT WINAPI SetScrollPos(HWND,INT,INT,BOOL); |
| 3539 | BOOL WINAPI SetScrollRange(HWND,INT,INT,INT,BOOL); |
| 3540 | BOOL WINAPI SetSysColors(INT,const INT*,const COLORREF*); |
| 3541 | #define SetSysModalWindow(hwnd) ((HWND)0) |
Lionel Ulmer | 5f5b576 | 1999-03-28 13:42:12 +0000 | [diff] [blame] | 3542 | BOOL WINAPI SetSystemCursor(HCURSOR,DWORD); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3543 | BOOL WINAPI SetSystemMenu(HWND,HMENU); |
| 3544 | UINT WINAPI SetSystemTimer(HWND,UINT,UINT,TIMERPROC); |
| 3545 | UINT WINAPI SetTimer(HWND,UINT,UINT,TIMERPROC); |
| 3546 | LONG WINAPI SetWindowLongA(HWND,INT,LONG); |
| 3547 | LONG WINAPI SetWindowLongW(HWND,INT,LONG); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3548 | #define SetWindowLong WINELIB_NAME_AW(SetWindowLong) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3549 | BOOL WINAPI SetWindowPlacement(HWND,const WINDOWPLACEMENT*); |
| 3550 | HHOOK WINAPI SetWindowsHookA(INT,HOOKPROC); |
| 3551 | HHOOK WINAPI SetWindowsHookW(INT,HOOKPROC); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3552 | #define SetWindowsHook WINELIB_NAME_AW(SetWindowsHook) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3553 | HHOOK WINAPI SetWindowsHookExA(INT,HOOKPROC,HINSTANCE,DWORD); |
| 3554 | HHOOK WINAPI SetWindowsHookExW(INT,HOOKPROC,HINSTANCE,DWORD); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3555 | #define SetWindowsHookEx WINELIB_NAME_AW(SetWindowsHookEx) |
Ulrich Weigand | 7f53c57 | 1999-06-18 17:03:13 +0000 | [diff] [blame] | 3556 | BOOL WINAPI SetWindowPos(HWND,HWND,INT,INT,INT,INT,UINT); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3557 | INT WINAPI SetWindowRgn(HWND,HRGN,BOOL); |
| 3558 | BOOL WINAPI SetWindowTextA(HWND,LPCSTR); |
| 3559 | BOOL WINAPI SetWindowTextW(HWND,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3560 | #define SetWindowText WINELIB_NAME_AW(SetWindowText) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3561 | WORD WINAPI SetWindowWord(HWND,INT,WORD); |
| 3562 | BOOL WINAPI ShowCaret(HWND); |
| 3563 | INT WINAPI ShowCursor(BOOL); |
| 3564 | BOOL WINAPI ShowScrollBar(HWND,INT,BOOL); |
| 3565 | BOOL WINAPI ShowOwnedPopups(HWND,BOOL); |
| 3566 | BOOL WINAPI ShowWindow(HWND,INT); |
| 3567 | BOOL WINAPI SubtractRect(LPRECT,const RECT*,const RECT*); |
| 3568 | BOOL WINAPI SwapMouseButton(BOOL); |
| 3569 | VOID WINAPI SwitchToThisWindow(HWND,BOOL); |
| 3570 | BOOL WINAPI SystemParametersInfoA(UINT,UINT,LPVOID,UINT); |
| 3571 | BOOL WINAPI SystemParametersInfoW(UINT,UINT,LPVOID,UINT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3572 | #define SystemParametersInfo WINELIB_NAME_AW(SystemParametersInfo) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3573 | LONG WINAPI TabbedTextOutA(HDC,INT,INT,LPCSTR,INT,INT,const INT*,INT); |
| 3574 | LONG WINAPI TabbedTextOutW(HDC,INT,INT,LPCWSTR,INT,INT,const INT*,INT); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3575 | #define TabbedTextOut WINELIB_NAME_AW(TabbedTextOut) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3576 | INT WINAPI ToAscii(UINT,UINT,LPBYTE,LPWORD,UINT); |
Alexandre Julliard | f80b2ab | 1999-03-28 13:15:40 +0000 | [diff] [blame] | 3577 | INT WINAPI ToAsciiEx(UINT,UINT,LPBYTE,LPWORD,UINT,HKL); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3578 | BOOL WINAPI TrackPopupMenu(HMENU,UINT,INT,INT,INT,HWND,const RECT*); |
| 3579 | INT WINAPI TranslateAccelerator(HWND,HACCEL,LPMSG); |
| 3580 | BOOL WINAPI TranslateMDISysAccel(HWND,LPMSG); |
| 3581 | BOOL WINAPI TranslateMessage(const MSG*); |
| 3582 | BOOL WINAPI UnhookWindowsHook(INT,HOOKPROC); |
| 3583 | BOOL WINAPI UnhookWindowsHookEx(HHOOK); |
| 3584 | BOOL WINAPI UnionRect(LPRECT,const RECT*,const RECT*); |
| 3585 | BOOL WINAPI UnregisterClassA(LPCSTR,HINSTANCE); |
| 3586 | BOOL WINAPI UnregisterClassW(LPCWSTR,HINSTANCE); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3587 | #define UnregisterClass WINELIB_NAME_AW(UnregisterClass) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3588 | VOID WINAPI UpdateWindow(HWND); |
| 3589 | VOID WINAPI ValidateRect(HWND,const RECT*); |
| 3590 | VOID WINAPI ValidateRgn(HWND,HRGN); |
| 3591 | WORD WINAPI VkKeyScanA(CHAR); |
| 3592 | WORD WINAPI VkKeyScanW(WCHAR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3593 | #define VkKeyScan WINELIB_NAME_AW(VkKeyScan) |
Alexandre Julliard | f80b2ab | 1999-03-28 13:15:40 +0000 | [diff] [blame] | 3594 | WORD WINAPI VkKeyScanExA(CHAR, HKL); |
| 3595 | WORD WINAPI VkKeyScanExW(WCHAR, HKL); |
| 3596 | #define VkKeyScanEx WINELIB_NAME_AW(VkKeyScanEx) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3597 | HWND WINAPI WindowFromDC(HDC); |
| 3598 | HWND WINAPI WindowFromPoint(POINT); |
| 3599 | BOOL WINAPI WinHelpA(HWND,LPCSTR,UINT,DWORD); |
| 3600 | BOOL WINAPI WinHelpW(HWND,LPCWSTR,UINT,DWORD); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3601 | #define WinHelp WINELIB_NAME_AW(WinHelp) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3602 | UINT WINAPI WNetAddConnectionA(LPCSTR,LPCSTR,LPCSTR); |
| 3603 | UINT WINAPI WNetAddConnectionW(LPCWSTR,LPCWSTR,LPCWSTR); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3604 | #define WNetAddConnection WINELIB_NAME_AW(WNetAddConnection) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3605 | INT WINAPIV wsnprintfA(LPSTR,UINT,LPCSTR,...); |
| 3606 | INT WINAPIV wsnprintfW(LPWSTR,UINT,LPCWSTR,...); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3607 | #define wsnprintf WINELIB_NAME_AW(wsnprintf) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3608 | INT WINAPIV wsprintfA(LPSTR,LPCSTR,...); |
| 3609 | INT WINAPIV wsprintfW(LPWSTR,LPCWSTR,...); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3610 | #define wsprintf WINELIB_NAME_AW(wsprintf) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3611 | INT WINAPI wvsnprintfA(LPSTR,UINT,LPCSTR,va_list); |
| 3612 | INT WINAPI wvsnprintfW(LPWSTR,UINT,LPCWSTR,va_list); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3613 | #define wvsnprintf WINELIB_NAME_AW(wvsnprintf) |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3614 | INT WINAPI wvsprintfA(LPSTR,LPCSTR,va_list); |
| 3615 | INT WINAPI wvsprintfW(LPWSTR,LPCWSTR,va_list); |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 3616 | #define wvsprintf WINELIB_NAME_AW(wvsprintf) |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 3617 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3618 | BOOL WINAPI RegisterShellHook16(HWND16,UINT16); |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 3619 | /* NOTE: This is SYSTEM.3, not USER.182, which is also named KillSystemTimer */ |
| 3620 | WORD WINAPI SYSTEM_KillSystemTimer( WORD ); |
| 3621 | |
| 3622 | /* Extra functions that don't exist in the Windows API */ |
| 3623 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3624 | HPEN WINAPI GetSysColorPen(INT); |
| 3625 | INT WINAPI LoadMessageA(HMODULE,UINT,WORD,LPSTR,INT); |
| 3626 | INT WINAPI LoadMessageW(HMODULE,UINT,WORD,LPWSTR,INT); |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 3627 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 3628 | VOID WINAPI ScreenSwitchEnable16(WORD); |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 3629 | |
Jim Aston | 10141fe | 1999-04-25 12:31:20 +0000 | [diff] [blame] | 3630 | #define WC_DIALOG (LPSTR)((DWORD)((WORD)( 0x8002))) |
| 3631 | |
Alexandre Julliard | faa18fd | 1999-03-24 14:58:11 +0000 | [diff] [blame] | 3632 | #ifdef __cplusplus |
| 3633 | } |
| 3634 | #endif |
| 3635 | |
Patrik Stridvall | 857eb39 | 1999-06-12 18:36:54 +0000 | [diff] [blame] | 3636 | #endif /* _WINUSER_ */ |