Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwindowdefs_win.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QWINDOWDEFS_WIN_H
6#define QWINDOWDEFS_WIN_H
7
8#include <QtGui/qtguiglobal.h>
9
11
12
14
15#if !defined(Q_NOWINSTRICT)
16#define Q_WINSTRICT
17#endif
18
19#if defined(Q_WINSTRICT)
20
21#if !defined(STRICT)
22#define STRICT
23#endif
24#undef NO_STRICT
25#define Q_DECLARE_HANDLE(name) struct name##__; typedef struct name##__ *name
26
27#else
28
29#if !defined(NO_STRICT)
30#define NO_STRICT
31#endif
32#undef STRICT
33#define Q_DECLARE_HANDLE(name) typedef HANDLE name
34
35#endif
36
37#ifndef HINSTANCE
39#endif
40#ifndef HMODULE
41typedef HINSTANCE HMODULE;
42#endif
43#ifndef HDC
45#endif
46#ifndef HWND
48#endif
49#ifndef HFONT
51#endif
52#ifndef HPEN
54#endif
55#ifndef HBRUSH
57#endif
58#ifndef HBITMAP
60#endif
61#ifndef HICON
63#endif
64#ifndef HCURSOR
65typedef HICON HCURSOR;
66#endif
67#ifndef HPALETTE
69#endif
70#ifndef HRGN
72#endif
73#ifndef HMONITOR
75#endif
76#ifndef HGLRC
78#endif
79#ifndef _HRESULT_DEFINED
80typedef long HRESULT;
81#endif
82
83typedef struct tagMSG MSG;
84
85#endif // QWINDOWDEFS_WIN_H
\inmodule QtSql
#define Q_DECLARE_HANDLE(name)
struct tagMSG MSG
long HRESULT
#define Q_WINSTRICT
HINSTANCE HMODULE
HICON HCURSOR