This is a Windows 10 addition.  For reference, see
https://docs.microsoft.com/en-us/windows/desktop/api/winnt/ne-winnt-_sid_name_use

Signed-off-by: Corinna Vinschen <vinsc...@redhat.com>
---
 mingw-w64-headers/ddk/include/ddk/ntifs.h | 3 ++-
 mingw-w64-headers/include/winnt.h         | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/mingw-w64-headers/ddk/include/ddk/ntifs.h 
b/mingw-w64-headers/ddk/include/ddk/ntifs.h
index 01ab6c9def09..e2dc95947a0b 100644
--- a/mingw-w64-headers/ddk/include/ddk/ntifs.h
+++ b/mingw-w64-headers/ddk/include/ddk/ntifs.h
@@ -94,7 +94,8 @@ typedef enum _SID_NAME_USE {
   SidTypeInvalid,
   SidTypeUnknown,
   SidTypeComputer,
-  SidTypeLabel
+  SidTypeLabel,
+  SidTypeLogonSession
 } SID_NAME_USE, *PSID_NAME_USE;
 
 typedef struct _SID_AND_ATTRIBUTES {
diff --git a/mingw-w64-headers/include/winnt.h 
b/mingw-w64-headers/include/winnt.h
index b5d84ef15c82..1bc0a7ab37d8 100644
--- a/mingw-w64-headers/include/winnt.h
+++ b/mingw-w64-headers/include/winnt.h
@@ -2943,7 +2943,7 @@ __buildmemorybarrier()
 #define SID_HASH_SIZE 32
 
     typedef enum _SID_NAME_USE {
-      SidTypeUser = 
1,SidTypeGroup,SidTypeDomain,SidTypeAlias,SidTypeWellKnownGroup,SidTypeDeletedAccount,SidTypeInvalid,SidTypeUnknown,SidTypeComputer,SidTypeLabel
+      SidTypeUser = 
1,SidTypeGroup,SidTypeDomain,SidTypeAlias,SidTypeWellKnownGroup,SidTypeDeletedAccount,SidTypeInvalid,SidTypeUnknown,SidTypeComputer,SidTypeLabel,SidTypeLogonSession
     } SID_NAME_USE,*PSID_NAME_USE;
 
     typedef struct _SID_AND_ATTRIBUTES {
-- 
2.14.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to