aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/pysidewtypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/PySide6/pysidewtypes.h')
-rw-r--r--sources/pyside6/PySide6/pysidewtypes.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/sources/pyside6/PySide6/pysidewtypes.h b/sources/pyside6/PySide6/pysidewtypes.h
new file mode 100644
index 000000000..f853949ac
--- /dev/null
+++ b/sources/pyside6/PySide6/pysidewtypes.h
@@ -0,0 +1,30 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#ifndef __PYSIDEWTYPES__
+#define __PYSIDEWTYPES__
+
+using HWND = struct HWND__ *;
+using UINT = unsigned;
+using LONG = long;
+using DWORD = unsigned long;
+using WPARAM = UINT;
+using LPARAM = LONG;
+
+struct POINT
+{
+ LONG x;
+ LONG y;
+};
+
+struct MSG
+{
+ HWND hwnd;
+ UINT message;
+ WPARAM wParam;
+ LPARAM lParam;
+ DWORD time;
+ POINT pt;
+};
+
+#endif