]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/missing.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / msw / missing.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/missing.h
3 // Purpose: Declarations for parts of the Win32 SDK that are missing in
4 // the versions that come with some compilers
5 // Created: 2002/04/23
6 // Copyright: (c) 2002 Mattia Barbon
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_MISSING_H_
11 #define _WX_MISSING_H_
12
13 /*
14 * The following are required for VC++ 6.
15 */
16
17 // Needed by cursor.cpp
18 #ifndef IDC_HAND
19 #define IDC_HAND MAKEINTRESOURCE(32649)
20 #endif
21
22 // Needed by strconv.cpp
23 #ifndef WC_NO_BEST_FIT_CHARS
24 #define WC_NO_BEST_FIT_CHARS 0x400
25 #endif
26
27 #ifndef WM_CONTEXTMENU
28 #define WM_CONTEXTMENU 0x007B
29 #endif
30
31 #ifndef WM_CHANGEUISTATE
32 #define WM_CHANGEUISTATE 0x0127
33 #endif
34
35 #ifndef WM_UPDATEUISTATE
36 #define WM_UPDATEUISTATE 0x0128
37 #endif
38
39 #ifndef WM_QUERYUISTATE
40 #define WM_QUERYUISTATE 0x0129
41 #endif
42
43 #ifndef WM_PRINTCLIENT
44 #define WM_PRINTCLIENT 0x318
45 #endif
46
47 #ifndef DT_HIDEPREFIX
48 #define DT_HIDEPREFIX 0x00100000
49 #endif
50
51 // Needed by toplevel.cpp
52 #ifndef UIS_SET
53 #define UIS_SET 1
54 #define UIS_CLEAR 2
55 #define UIS_INITIALIZE 3
56 #endif
57
58 #ifndef UISF_HIDEFOCUS
59 #define UISF_HIDEFOCUS 1
60 #endif
61
62 #ifndef UISF_HIDEACCEL
63 #define UISF_HIDEACCEL 2
64 #endif
65
66 #ifndef OFN_EXPLORER
67 #define OFN_EXPLORER 0x00080000
68 #endif
69
70 #ifndef OFN_ENABLESIZING
71 #define OFN_ENABLESIZING 0x00800000
72 #endif
73
74 // Needed by window.cpp
75 #if wxUSE_MOUSEWHEEL
76 #ifndef WM_MOUSEWHEEL
77 #define WM_MOUSEWHEEL 0x020A
78 #endif
79 #ifndef WM_MOUSEHWHEEL
80 #define WM_MOUSEHWHEEL 0x020E
81 #endif
82 #ifndef WHEEL_DELTA
83 #define WHEEL_DELTA 120
84 #endif
85 #ifndef SPI_GETWHEELSCROLLLINES
86 #define SPI_GETWHEELSCROLLLINES 104
87 #endif
88 #ifndef SPI_GETWHEELSCROLLCHARS
89 #define SPI_GETWHEELSCROLLCHARS 108
90 #endif
91 #endif // wxUSE_MOUSEWHEEL
92
93 // Needed by window.cpp
94 #ifndef VK_OEM_1
95 #define VK_OEM_1 0xBA
96 #define VK_OEM_2 0xBF
97 #define VK_OEM_3 0xC0
98 #define VK_OEM_4 0xDB
99 #define VK_OEM_5 0xDC
100 #define VK_OEM_6 0xDD
101 #define VK_OEM_7 0xDE
102 #define VK_OEM_102 0xE2
103 #endif
104
105 #ifndef VK_OEM_COMMA
106 #define VK_OEM_PLUS 0xBB
107 #define VK_OEM_COMMA 0xBC
108 #define VK_OEM_MINUS 0xBD
109 #define VK_OEM_PERIOD 0xBE
110 #endif
111
112 #ifndef SM_TABLETPC
113 #define SM_TABLETPC 86
114 #endif
115
116 #ifndef INKEDIT_CLASS
117 # define INKEDIT_CLASSW L"INKEDIT"
118 # ifdef UNICODE
119 # define INKEDIT_CLASS INKEDIT_CLASSW
120 # else
121 # define INKEDIT_CLASS "INKEDIT"
122 # endif
123 #endif
124
125 #ifndef EM_SETINKINSERTMODE
126 # define EM_SETINKINSERTMODE (WM_USER + 0x0204)
127 #endif
128
129 #ifndef EM_SETUSEMOUSEFORINPUT
130 #define EM_SETUSEMOUSEFORINPUT (WM_USER + 0x224)
131 #endif
132
133 #ifndef TPM_RECURSE
134 #define TPM_RECURSE 1
135 #endif
136
137
138 #ifndef WS_EX_LAYOUTRTL
139 #define WS_EX_LAYOUTRTL 0x00400000
140 #endif
141
142 #ifndef WS_EX_COMPOSITED
143 #define WS_EX_COMPOSITED 0x02000000L
144 #endif
145
146 #ifndef WS_EX_LAYERED
147 #define WS_EX_LAYERED 0x00080000
148 #endif
149
150 #ifndef LWA_ALPHA
151 #define LWA_ALPHA 2
152 #endif
153
154 #ifndef QS_ALLPOSTMESSAGE
155 #define QS_ALLPOSTMESSAGE 0
156 #endif
157
158 /*
159 * The following are required for VC++ 5 when the PSDK is not available.
160 */
161
162 #if defined __VISUALC__ && __VISUALC__ <= 1100
163
164 #ifndef VER_NT_WORKSTATION
165
166 typedef struct _OSVERSIONINFOEXA {
167 DWORD dwOSVersionInfoSize;
168 DWORD dwMajorVersion;
169 DWORD dwMinorVersion;
170 DWORD dwBuildNumber;
171 DWORD dwPlatformId;
172 CHAR szCSDVersion[128];
173 WORD wServicePackMajor;
174 WORD wServicePackMinor;
175 WORD wSuiteMask;
176 BYTE wProductType;
177 BYTE wReserved;
178 } OSVERSIONINFOEXA, *POSVERSIONINFOEXA, *LPOSVERSIONINFOEXA;
179 typedef struct _OSVERSIONINFOEXW {
180 DWORD dwOSVersionInfoSize;
181 DWORD dwMajorVersion;
182 DWORD dwMinorVersion;
183 DWORD dwBuildNumber;
184 DWORD dwPlatformId;
185 WCHAR szCSDVersion[128];
186 WORD wServicePackMajor;
187 WORD wServicePackMinor;
188 WORD wSuiteMask;
189 BYTE wProductType;
190 BYTE wReserved;
191 } OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW;
192
193 #ifdef UNICODE
194 typedef OSVERSIONINFOW OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO;
195 typedef OSVERSIONINFOEXW OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX;
196 #else
197 typedef OSVERSIONINFOA OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO;
198 typedef OSVERSIONINFOEXA OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX;
199 #endif
200
201 #endif // defined VER_NT_WORKSTATION
202
203 #ifndef CP_SYMBOL
204 #define CP_SYMBOL 42
205 #endif
206
207 // NMLVCUSTOMDRAW originally didn't have the iSubItem member. It was added
208 // with IE4, as was IPN_FIRST which is used as a test :-(.
209 //
210 #ifndef IPN_FIRST
211
212 typedef struct wxtagNMLVCUSTOMDRAW_ {
213 NMCUSTOMDRAW nmcd;
214 COLORREF clrText;
215 COLORREF clrTextBk;
216 int iSubItem;
217 } wxNMLVCUSTOMDRAW_, *wxLPNMLVCUSTOMDRAW_;
218
219 #define NMLVCUSTOMDRAW wxNMLVCUSTOMDRAW_
220 #define LPNMLVCUSTOMDRAW wxLPNMLVCUSTOMDRAW_
221
222 #endif // defined IPN_FIRST
223
224 #endif // defined __VISUALC__ && __VISUALC__ <= 1100
225
226 // ----------------------------------------------------------------------------
227 // menu stuff
228 // ----------------------------------------------------------------------------
229
230 #ifndef MIIM_BITMAP
231 #define MIIM_STRING 0x00000040
232 #define MIIM_BITMAP 0x00000080
233 #define MIIM_FTYPE 0x00000100
234 #define HBMMENU_CALLBACK ((HBITMAP) -1)
235
236 typedef struct tagMENUINFO
237 {
238 DWORD cbSize;
239 DWORD fMask;
240 DWORD dwStyle;
241 UINT cyMax;
242 HBRUSH hbrBack;
243 DWORD dwContextHelpID;
244 DWORD dwMenuData;
245 } MENUINFO, FAR *LPMENUINFO;
246 #endif // MIIM_BITMAP &c
247
248 // ----------------------------------------------------------------------------
249 // definitions related to ListView and Header common controls, needed by
250 // msw/listctrl.cpp and msw/headerctrl.cpp
251 // ----------------------------------------------------------------------------
252
253 #ifndef I_IMAGENONE
254 #define I_IMAGENONE (-2)
255 #endif
256
257 #ifndef LVS_EX_FULLROWSELECT
258 #define LVS_EX_FULLROWSELECT 0x00000020
259 #endif
260
261 // LVS_EX_LABELTIP is not supported by Windows CE, don't define it there
262 #if !defined(LVS_EX_LABELTIP) && !defined(__WXWINCE__)
263 #define LVS_EX_LABELTIP 0x00004000
264 #endif
265
266 #ifndef LVS_EX_SUBITEMIMAGES
267 #define LVS_EX_SUBITEMIMAGES 0x00000002
268 #endif
269
270 #ifndef HDN_GETDISPINFOW
271 #define HDN_GETDISPINFOW (HDN_FIRST-29)
272 #endif
273
274 #ifndef HDS_HOTTRACK
275 #define HDS_HOTTRACK 4
276 #endif
277 #ifndef HDS_FLAT
278 #define HDS_FLAT 0x0200
279 #endif
280
281 #ifndef HDF_SORTUP
282 #define HDF_SORTUP 0x0400
283 #define HDF_SORTDOWN 0x0200
284 #endif
285
286 /*
287 * In addition to the above, the following are required for several compilers.
288 */
289
290 #if !defined(CCS_VERT)
291 #define CCS_VERT 0x00000080L
292 #endif
293
294 #if !defined(CCS_RIGHT)
295 #define CCS_RIGHT (CCS_VERT|CCS_BOTTOM)
296 #endif
297
298 #if !defined(TB_SETDISABLEDIMAGELIST)
299 #define TB_SETDISABLEDIMAGELIST (WM_USER + 54)
300 #endif // !defined(TB_SETDISABLEDIMAGELIST)
301
302 #ifndef CFM_BACKCOLOR
303 #define CFM_BACKCOLOR 0x04000000
304 #endif
305
306 #ifndef HANGUL_CHARSET
307 #define HANGUL_CHARSET 129
308 #endif
309
310 #ifndef CCM_SETUNICODEFORMAT
311 #define CCM_SETUNICODEFORMAT 8197
312 #endif
313
314 // ----------------------------------------------------------------------------
315 // Tree control
316 // ----------------------------------------------------------------------------
317
318 #ifndef TV_FIRST
319 #define TV_FIRST 0x1100
320 #endif
321
322 #ifndef TVS_FULLROWSELECT
323 #define TVS_FULLROWSELECT 0x1000
324 #endif
325
326 #ifndef TVM_SETBKCOLOR
327 #define TVM_SETBKCOLOR (TV_FIRST + 29)
328 #define TVM_SETTEXTCOLOR (TV_FIRST + 30)
329 #endif
330
331 /*
332 * The following are required for BC++ 5.5 (none at present.)
333 */
334
335 /*
336 * The following are specifically required for Digital Mars C++
337 */
338
339 #ifdef __DMC__
340
341 #ifndef VER_NT_WORKSTATION
342 typedef struct _OSVERSIONINFOEX {
343 DWORD dwOSVersionInfoSize;
344 DWORD dwMajorVersion;
345 DWORD dwMinorVersion;
346 DWORD dwBuildNumber;
347 DWORD dwPlatformId;
348 TCHAR szCSDVersion[ 128 ];
349 WORD wServicePackMajor;
350 WORD wServicePackMinor;
351 WORD wSuiteMask;
352 BYTE wProductType;
353 BYTE wReserved;
354 } OSVERSIONINFOEX;
355 #endif // !defined(VER_NT_WORKSTATION)
356
357 #ifndef _TrackMouseEvent
358 #define _TrackMouseEvent TrackMouseEvent
359 #endif
360
361 #ifndef LVM_SETEXTENDEDLISTVIEWSTYLE
362 #define LVM_SETEXTENDEDLISTVIEWSTYLE (0x1000 + 54)
363 #endif
364
365 #ifndef LVM_GETSUBITEMRECT
366 #define LVM_GETSUBITEMRECT (0x1000 + 56)
367 #endif
368
369 #ifndef LVCF_IMAGE
370 #define LVCF_IMAGE 0x0010
371 #endif
372
373 #ifndef Header_GetItemRect
374 #define Header_GetItemRect(w,i,r) \
375 (BOOL)SendMessage((w),HDM_GETITEMRECT,(WPARAM)(i),(LPARAM)(r))
376 #endif
377
378 #ifndef HDM_GETITEMRECT
379 #define HDM_GETITEMRECT (HDM_FIRST+7)
380 #endif
381
382 #ifndef ListView_GetHeader
383 #define ListView_GetHeader(w) (HWND)SendMessage((w),LVM_GETHEADER,0,0)
384 #endif
385
386 #ifndef ListView_GetSubItemRect
387 #define ListView_GetSubItemRect(w, i, s, c, p) (HWND)SendMessage(w,LVM_GETSUBITEMRECT,i, ((p) ? ((((LPRECT)(p))->top = s), (((LPRECT)(p))->left = c), (LPARAM)(p)) : (LPARAM)(LPRECT)NULL))
388 #endif
389
390 #ifndef LVM_GETHEADER
391 #define LVM_GETHEADER (LVM_FIRST+31)
392 #endif
393
394 #ifndef HDLAYOUT
395 #define HDLAYOUT HD_LAYOUT
396 #endif
397
398 #ifndef HDITEM
399 #define HDITEM HD_ITEM
400 #endif
401
402 #ifndef NMHEADER
403 #define NMHEADER HD_NOTIFY
404 #endif
405
406 #ifndef HDS_DRAGDROP
407 #define HDS_DRAGDROP 0x0040
408 #endif
409 #ifndef HDS_FULLDRAG
410 #define HDS_FULLDRAG 0x0080
411 #endif
412
413
414 #ifndef HDN_BEGINDRAG
415 #define HDN_BEGINDRAG (HDN_FIRST - 11)
416 #endif
417
418 #ifndef HDN_ENDDRAG
419 #define HDN_ENDDRAG (HDN_FIRST - 10)
420 #endif
421
422 #ifndef LVSICF_NOSCROLL
423 #define LVSICF_NOINVALIDATEALL 0x0001
424 #define LVSICF_NOSCROLL 0x0002
425 #endif
426
427 #ifndef CP_SYMBOL
428 #define CP_SYMBOL 42
429 #endif
430
431 // ----------------------------------------------------------------------------
432 // wxDisplay
433 // ----------------------------------------------------------------------------
434
435 // The windows headers with Digital Mars lack some typedefs.
436 // typedef them as my_XXX and then #define to rename to XXX in case
437 // a newer version of Digital Mars fixes the headers
438 // (or up to date PSDK is in use with older version)
439 // also we use any required definition (MONITOR_DEFAULTTONULL) to recognize
440 // whether whole missing block needs to be included
441
442 #ifndef MONITOR_DEFAULTTONULL
443
444 #define HMONITOR_DECLARED
445 DECLARE_HANDLE(HMONITOR);
446 typedef BOOL(CALLBACK* my_MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM);
447 #define MONITORENUMPROC my_MONITORENUMPROC
448 typedef struct my_tagMONITORINFO {
449 DWORD cbSize;
450 RECT rcMonitor;
451 RECT rcWork;
452 DWORD dwFlags;
453 } my_MONITORINFO,*my_LPMONITORINFO;
454 #define MONITORINFO my_MONITORINFO
455 #define LPMONITORINFO my_LPMONITORINFO
456
457 typedef struct my_MONITORINFOEX : public my_tagMONITORINFO
458 {
459 TCHAR szDevice[CCHDEVICENAME];
460 } my_MONITORINFOEX, *my_LPMONITORINFOEX;
461 #define MONITORINFOEX my_MONITORINFOEX
462 #define LPMONITORINFOEX my_LPMONITORINFOEX
463
464 #ifndef MONITOR_DEFAULTTONULL
465 #define MONITOR_DEFAULTTONULL 0
466 #endif // MONITOR_DEFAULTTONULL
467
468 #ifndef MONITORINFOF_PRIMARY
469 #define MONITORINFOF_PRIMARY 1
470 #endif // MONITORINFOF_PRIMARY
471
472 #ifndef DDENUM_ATTACHEDSECONDARYDEVICES
473 #define DDENUM_ATTACHEDSECONDARYDEVICES 1
474 #endif
475
476 #endif // MONITOR_DEFAULTTONULL
477
478 // ----------------------------------------------------------------------------
479 // Tree control
480 // ----------------------------------------------------------------------------
481
482 #ifndef TVIS_FOCUSED
483 #define TVIS_FOCUSED 0x0001
484 #endif
485
486 #ifndef TVS_CHECKBOXES
487 #define TVS_CHECKBOXES 0x0100
488 #endif
489
490 #ifndef TVITEM
491 #define TVITEM TV_ITEM
492 #endif
493
494 #endif
495 // DMC++
496
497 /*
498 * The following are specifically required for OpenWatcom C++ (none at present)
499 */
500
501 #if defined(__WATCOMC__)
502 #endif
503
504 /*
505 * The following are specifically required for MinGW (none at present)
506 */
507
508 #if defined (__MINGW32__)
509
510 #if !wxCHECK_W32API_VERSION(3,1)
511
512 #include <windows.h>
513 #include "wx/msw/winundef.h"
514
515 typedef struct
516 {
517 RECT rgrc[3];
518 WINDOWPOS *lppos;
519 } NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS;
520
521 #endif
522
523 #endif
524
525 //Various defines that will be needed by mingw and possibly VC++6
526 //Used by the webview library
527
528 #ifndef DISPID_COMMANDSTATECHANGE
529 #define DISPID_COMMANDSTATECHANGE 105
530 #endif
531
532 #ifndef DISPID_NAVIGATECOMPLETE2
533 #define DISPID_NAVIGATECOMPLETE2 252
534 #endif
535
536 #ifndef DISPID_NAVIGATEERROR
537 #define DISPID_NAVIGATEERROR 271
538 #endif
539
540 #ifndef DISPID_NEWWINDOW3
541 #define DISPID_NEWWINDOW3 273
542 #endif
543
544 #ifndef INET_E_ERROR_FIRST
545 #define INET_E_ERROR_FIRST 0x800C0002L
546 #endif
547
548 #ifndef INET_E_INVALID_URL
549 #define INET_E_INVALID_URL 0x800C0002L
550 #endif
551
552 #ifndef INET_E_NO_SESSION
553 #define INET_E_NO_SESSION 0x800C0003L
554 #endif
555
556 #ifndef INET_E_CANNOT_CONNECT
557 #define INET_E_CANNOT_CONNECT 0x800C0004L
558 #endif
559
560 #ifndef INET_E_RESOURCE_NOT_FOUND
561 #define INET_E_RESOURCE_NOT_FOUND 0x800C0005L
562 #endif
563
564 #ifndef INET_E_OBJECT_NOT_FOUND
565 #define INET_E_OBJECT_NOT_FOUND 0x800C0006L
566 #endif
567
568 #ifndef INET_E_DATA_NOT_AVAILABLE
569 #define INET_E_DATA_NOT_AVAILABLE 0x800C0007L
570 #endif
571
572 #ifndef INET_E_DOWNLOAD_FAILURE
573 #define INET_E_DOWNLOAD_FAILURE 0x800C0008L
574 #endif
575
576 #ifndef INET_E_AUTHENTICATION_REQUIRED
577 #define INET_E_AUTHENTICATION_REQUIRED 0x800C0009L
578 #endif
579
580 #ifndef INET_E_NO_VALID_MEDIA
581 #define INET_E_NO_VALID_MEDIA 0x800C000AL
582 #endif
583
584 #ifndef INET_E_CONNECTION_TIMEOUT
585 #define INET_E_CONNECTION_TIMEOUT 0x800C000BL
586 #endif
587
588 #ifndef INET_E_INVALID_REQUEST
589 #define INET_E_INVALID_REQUEST 0x800C000CL
590 #endif
591
592 #ifndef INET_E_UNKNOWN_PROTOCOL
593 #define INET_E_UNKNOWN_PROTOCOL 0x800C000DL
594 #endif
595
596 #ifndef INET_E_SECURITY_PROBLEM
597 #define INET_E_SECURITY_PROBLEM 0x800C000EL
598 #endif
599
600 #ifndef INET_E_CANNOT_LOAD_DATA
601 #define INET_E_CANNOT_LOAD_DATA 0x800C000FL
602 #endif
603
604 #ifndef INET_E_CANNOT_INSTANTIATE_OBJECT
605 #define INET_E_CANNOT_INSTANTIATE_OBJECT 0x800C0010L
606 #endif
607
608 #ifndef INET_E_QUERYOPTION_UNKNOWN
609 #define INET_E_QUERYOPTION_UNKNOWN 0x800C0013L
610 #endif
611
612 #ifndef INET_E_REDIRECT_FAILED
613 #define INET_E_REDIRECT_FAILED 0x800C0014L
614 #endif
615
616 #ifndef INET_E_REDIRECT_TO_DIR
617 #define INET_E_REDIRECT_TO_DIR 0x800C0015L
618 #endif
619
620 #ifndef INET_E_CANNOT_LOCK_REQUEST
621 #define INET_E_CANNOT_LOCK_REQUEST 0x800C0016L
622 #endif
623
624 #ifndef INET_E_USE_EXTEND_BINDING
625 #define INET_E_USE_EXTEND_BINDING 0x800C0017L
626 #endif
627
628 #ifndef INET_E_TERMINATED_BIND
629 #define INET_E_TERMINATED_BIND 0x800C0018L
630 #endif
631
632 #ifndef INET_E_INVALID_CERTIFICATE
633 #define INET_E_INVALID_CERTIFICATE 0x800C0019L
634 #endif
635
636 #ifndef INET_E_CODE_DOWNLOAD_DECLINED
637 #define INET_E_CODE_DOWNLOAD_DECLINED 0x800C0100L
638 #endif
639
640 #ifndef INET_E_RESULT_DISPATCHED
641 #define INET_E_RESULT_DISPATCHED 0x800C0200L
642 #endif
643
644 #ifndef INET_E_CANNOT_REPLACE_SFP_FILE
645 #define INET_E_CANNOT_REPLACE_SFP_FILE 0x800C0300L
646 #endif
647
648 #ifndef INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY
649 #define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY 0x800C0500L
650 #endif
651
652 #ifndef INET_E_CODE_INSTALL_SUPPRESSED
653 #define INET_E_CODE_INSTALL_SUPPRESSED 0x800C0400L
654 #endif
655
656 #ifndef MUI_LANGUAGE_NAME
657 #define MUI_LANGUAGE_NAME 0x8
658 #endif
659
660 //We need to check if we are using MinGW or mingw-w64 as their
661 //definitions are different
662
663 #ifdef __MINGW32__
664 #include <_mingw.h>
665 #endif
666
667 #if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
668 typedef enum CommandStateChangeConstants {
669 CSC_UPDATECOMMANDS = (int) 0xFFFFFFFF,
670 CSC_NAVIGATEFORWARD = 0x1,
671 CSC_NAVIGATEBACK = 0x2
672 } CommandStateChangeConstants;
673 #endif
674
675 /*
676 * In addition to the declarations for VC++, the following are required for WinCE
677 */
678
679 #ifdef __WXWINCE__
680 #include "wx/msw/wince/missing.h"
681 #endif
682
683 /*
684 * The following are specifically required for Wine
685 */
686
687 #ifdef __WINE__
688 #ifndef ENUM_CURRENT_SETTINGS
689 #define ENUM_CURRENT_SETTINGS ((DWORD)-1)
690 #endif
691 #ifndef BROADCAST_QUERY_DENY
692 #define BROADCAST_QUERY_DENY 1112363332
693 #endif
694 #endif // defined __WINE__
695
696 #ifndef INVALID_FILE_ATTRIBUTES
697 #define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
698 #endif
699
700 #endif
701 // _WX_MISSING_H_