Skip to content

Commit

Permalink
Fixed #1482.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebattista committed Mar 8, 2023
1 parent fb18f85 commit 26711db
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
22 changes: 22 additions & 0 deletions generation/WinSDK/manual/Security.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,30 @@ public static unsafe partial class Apis
[NativeTypeName("BOOLEAN")]
public const byte SECURITY_STATIC_TRACKING = 0;

[Constant("{0, 0, 0, 0, 0, 0}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_NULL_SID_AUTHORITY;
[Constant("{0, 0, 0, 0, 0, 1}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_WORLD_SID_AUTHORITY;
[Constant("{0, 0, 0, 0, 0, 2}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_LOCAL_SID_AUTHORITY;
[Constant("{0, 0, 0, 0, 0, 3}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_CREATOR_SID_AUTHORITY;
[Constant("{0, 0, 0, 0, 0, 4}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_NON_UNIQUE_AUTHORITY;
[Constant("{0, 0, 0, 0, 0, 5}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_NT_AUTHORITY;
[Constant("{0, 0, 0, 0, 0, 9}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_RESOURCE_MANAGER_AUTHORITY;
[Constant("{0, 0, 0, 0, 0, 15}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_APP_PACKAGE_AUTHORITY;
[Constant("{0, 0, 0, 0, 0, 16}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_MANDATORY_LABEL_AUTHORITY;
[Constant("{0, 0, 0, 0, 0, 17}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_SCOPED_POLICY_ID_AUTHORITY;
[Constant("{0, 0, 0, 0, 0, 18}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_AUTHENTICATION_AUTHORITY;
[Constant("{0, 0, 0, 0, 0, 19}")]
public static readonly SID_IDENTIFIER_AUTHORITY SECURITY_PROCESS_TRUST_AUTHORITY;
}

// We need to define this manually because of how it's defined with duplicate typedefs
Expand Down
12 changes: 12 additions & 0 deletions scripts/ChangesSinceLastRelease.txt
Original file line number Diff line number Diff line change
Expand Up @@ -774,3 +774,15 @@ Windows.Win32.UI.Shell.WTS_CONTEXTFLAGS : => [Flags]
Windows.Win32.UI.Shell.WTS_FLAGS : => [Flags]
winmd1: Windows.Win32.Graphics.Direct3D12.D3D12_BARRIER_ACCESS.D3D12_BARRIER_ACCESS_NO_ACCESS = 2147483648, winmd2 = -2147483648
winmd1: Windows.Win32.Graphics.Direct3D12.D3D12_BARRIER_SYNC.D3D12_BARRIER_SYNC_SPLIT = 2147483648, winmd2 = -2147483648
# Fixed #1482.
Windows.Win32.Security.Apis.SECURITY_APP_PACKAGE_AUTHORITY added
Windows.Win32.Security.Apis.SECURITY_AUTHENTICATION_AUTHORITY added
Windows.Win32.Security.Apis.SECURITY_CREATOR_SID_AUTHORITY added
Windows.Win32.Security.Apis.SECURITY_LOCAL_SID_AUTHORITY added
Windows.Win32.Security.Apis.SECURITY_MANDATORY_LABEL_AUTHORITY added
Windows.Win32.Security.Apis.SECURITY_NON_UNIQUE_AUTHORITY added
Windows.Win32.Security.Apis.SECURITY_NULL_SID_AUTHORITY added
Windows.Win32.Security.Apis.SECURITY_PROCESS_TRUST_AUTHORITY added
Windows.Win32.Security.Apis.SECURITY_RESOURCE_MANAGER_AUTHORITY added
Windows.Win32.Security.Apis.SECURITY_SCOPED_POLICY_ID_AUTHORITY added
Windows.Win32.Security.Apis.SECURITY_WORLD_SID_AUTHORITY added

0 comments on commit 26711db

Please sign in to comment.