...
From d5b0fb925c9f7afc137be38f2771fce14faa526b Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <[email protected]>
Date: Sun, 15 Sep 2019 19:21:57 +0530
Subject: [PATCH] include/dwmapi: update header file

Signed-off-by: Biswapriyo Nath <[email protected]>
---
 mingw-w64-headers/include/dwmapi.h | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

diff --git a/mingw-w64-headers/include/dwmapi.h b/mingw-w64-headers/include/dwmapi.h
index 7ea83859..f3944dd1 100644
--- a/mingw-w64-headers/include/dwmapi.h
+++ b/mingw-w64-headers/include/dwmapi.h
@@ -44,6 +44,7 @@ extern "C" {
     DWMWA_CLOAK,
     DWMWA_CLOAKED,
     DWMWA_FREEZE_REPRESENTATION,
+    DWMWA_PASSIVE_UPDATE_MODE,
     DWMWA_LAST
   };
 
@@ -61,7 +62,7 @@ extern "C" {
     DWMNCRP_LAST
   };
 
-#if NTDDI_VERSION >= 0x06020000
+#if NTDDI_VERSION >= NTDDI_WIN8
   enum GESTURE_TYPE {
     GT_PEN_TAP = 0,
     GT_PEN_DOUBLETAP = 1,
@@ -89,6 +90,24 @@ extern "C" {
   DEFINE_ENUM_FLAG_OPERATORS (DWM_SHOWCONTACT);
 #endif
 
+#if NTDDI_VERSION >= NTDDI_WIN10_RS4
+  enum DWM_TAB_WINDOW_REQUIREMENTS {
+    DWMTWR_NONE = 0x0000,
+    DWMTWR_IMPLEMENTED_BY_SYSTEM = 0x0001,
+    DWMTWR_WINDOW_RELATIONSHIP = 0x0002,
+    DWMTWR_WINDOW_STYLES = 0x0004,
+    DWMTWR_WINDOW_REGION = 0x0008,
+    DWMTWR_WINDOW_DWM_ATTRIBUTES = 0x0010,
+    DWMTWR_WINDOW_MARGINS = 0x0020,
+    DWMTWR_TABBING_ENABLED = 0x0040,
+    DWMTWR_USER_POLICY = 0x0080,
+    DWMTWR_GROUP_POLICY = 0x0100,
+    DWMTWR_APP_COMPAT = 0x0200
+  };
+
+  DEFINE_ENUM_FLAG_OPERATORS(DWM_TAB_WINDOW_REQUIREMENTS);
+#endif
+
   typedef enum {
     DWM_SOURCE_FRAME_SAMPLING_POINT,
     DWM_SOURCE_FRAME_SAMPLING_COVERAGE,
@@ -251,11 +270,14 @@ extern "C" {
   HRESULT WINAPI DwmSetIconicLivePreviewBitmap (HWND hwnd, HBITMAP hbmp, POINT *pptClient, DWORD dwSITFlags);
   HRESULT WINAPI DwmInvalidateIconicBitmaps (HWND hwnd);
 #endif
-#if NTDDI_VERSION >= 0x06020000
+#if NTDDI_VERSION >= NTDDI_WIN8
   HRESULT WINAPI DwmRenderGesture (enum GESTURE_TYPE gt, UINT cContacts, const DWORD *pdwPointerID, const POINT *pPoints);
   HRESULT WINAPI DwmTetherContact (DWORD dwPointerID, WINBOOL fEnable, POINT ptTether);
   HRESULT WINAPI DwmShowContact (DWORD dwPointerID, enum DWM_SHOWCONTACT eShowContact);
 #endif
+#if NTDDI_VERSION >= NTDDI_WIN10_RS4
+  HRESULT WINAPI DwmGetUnmetTabRequirements (HWND appWindow, enum DWM_TAB_WINDOW_REQUIREMENTS *value);
+#endif
 
 #ifdef __cplusplus
 }
-- 
2.22.0

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to