Signed-off-by: Alvin Wong <al...@alvinhc.com>
---
The docs states that the preexisting KF_FLAG_NO_APPCONTAINER_REDIRECTION
constant was introduced in win8, but the current version guard checks
for win7 instead. I left it as is.

 mingw-w64-headers/include/shlobj.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/mingw-w64-headers/include/shlobj.h 
b/mingw-w64-headers/include/shlobj.h
index be087c4fe..c775f50b5 100644
--- a/mingw-w64-headers/include/shlobj.h
+++ b/mingw-w64-headers/include/shlobj.h
@@ -734,6 +734,17 @@ extern "C" {
 #if NTDDI_VERSION >= 0x06000000
   typedef enum {
     KF_FLAG_DEFAULT = 0x00000000,
+#if NTDDI_VERSION >= NTDDI_WIN10_RS3
+    KF_FLAG_FORCE_APP_DATA_REDIRECTION = 0x00080000,
+#endif
+#if NTDDI_VERSION >= NTDDI_WIN10_RS2
+    KF_FLAG_RETURN_FILTER_REDIRECTION_TARGET = 0x00040000,
+    KF_FLAG_FORCE_PACKAGE_REDIRECTION = 0x00020000,
+    KF_FLAG_NO_PACKAGE_REDIRECTION = 0x00010000,
+#endif
+#if NTDDI_VERSION >= NTDDI_WIN8
+    KF_FLAG_FORCE_APPCONTAINER_REDIRECTION = 0x00020000,
+#endif
 #if NTDDI_VERSION >= 0x06010000
     KF_FLAG_NO_APPCONTAINER_REDIRECTION = 0x00010000,
 #endif
-- 
2.38.1



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to