1 /****************************************************************************
2 **
3 ** DQt - D bindings for the Qt Toolkit
4 **
5 ** GNU Lesser General Public License Usage
6 ** This file may be used under the terms of the GNU Lesser
7 ** General Public License version 3 as published by the Free Software
8 ** Foundation and appearing in the file LICENSE.LGPL3 included in the
9 ** packaging of this file. Please review the following information to
10 ** ensure the GNU Lesser General Public License version 3 requirements
11 ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
12 **
13 ****************************************************************************/
14 module qt.gui.windowdefs_win;
15 extern(C++):
16 
17 import core.stdc.config;
18 import qt.config;
19 import qt.helpers;
20 
21 
22 /+ #if !defined(Q_NOWINSTRICT)
23 #define Q_WINSTRICT
24 #endif
25 
26 #if defined(Q_WINSTRICT)
27 
28 #if !defined(STRICT)
29 #define STRICT
30 #endif
31 #undef NO_STRICT
32 #define Q_DECLARE_HANDLE(name) struct name##__; typedef struct name##__ *name
33 
34 #else
35 
36 #if !defined(NO_STRICT)
37 #define NO_STRICT
38 #endif
39 #undef  STRICT
40 #define Q_DECLARE_HANDLE(name) typedef HANDLE name
41 
42 #endif
43 
44 #ifndef HINSTANCE +/
45 struct HINSTANCE__;
46 /+ Q_DECLARE_HANDLE(HINSTANCE) +/alias HINSTANCE = HINSTANCE__*;
47 /+ #endif
48 #ifndef HDC +/
49 struct HDC__;
50 /+ Q_DECLARE_HANDLE(HDC) +/alias HDC = HDC__*;
51 /+ #endif
52 #ifndef HWND +/
53 struct HWND__;
54 /+ Q_DECLARE_HANDLE(HWND) +/alias HWND = HWND__*;
55 /+ #endif
56 #ifndef HFONT +/
57 struct HFONT__;
58 /+ Q_DECLARE_HANDLE(HFONT) +/alias HFONT = HFONT__*;
59 /+ #endif
60 #ifndef HPEN +/
61 struct HPEN__;
62 /+ Q_DECLARE_HANDLE(HPEN) +/alias HPEN = HPEN__*;
63 /+ #endif
64 #ifndef HBRUSH +/
65 struct HBRUSH__;
66 /+ Q_DECLARE_HANDLE(HBRUSH) +/alias HBRUSH = HBRUSH__*;
67 /+ #endif
68 #ifndef HBITMAP +/
69 struct HBITMAP__;
70 /+ Q_DECLARE_HANDLE(HBITMAP) +/alias HBITMAP = HBITMAP__*;
71 /+ #endif
72 #ifndef HICON +/
73 struct HICON__;
74 /+ Q_DECLARE_HANDLE(HICON) +/alias HICON = HICON__*;
75 /+ #endif
76 #ifndef HCURSOR +/
77 alias HCURSOR = HICON;
78 /+ #endif
79 #ifndef HPALETTE +/
80 struct HPALETTE__;
81 /+ Q_DECLARE_HANDLE(HPALETTE) +/alias HPALETTE = HPALETTE__*;
82 /+ #endif
83 #ifndef HRGN +/
84 struct HRGN__;
85 /+ Q_DECLARE_HANDLE(HRGN) +/alias HRGN = HRGN__*;
86 /+ #endif
87 #ifndef HMONITOR +/
88 struct HMONITOR__;
89 /+ Q_DECLARE_HANDLE(HMONITOR) +/alias HMONITOR = HMONITOR__*;
90 /+ #endif
91 #ifndef _HRESULT_DEFINED +/
92 alias HRESULT = cpp_long;
93 /+ #endif +/
94