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