Skip to content

Commit

Permalink
chore: use primary ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
emako committed Jul 16, 2024
1 parent 00d4027 commit 31dd036
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions src/ETW/Microsoft_Windows_D3D9.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,9 @@ internal static class Microsoft_Windows_D3D9

public static readonly Guid GUID = new("783ACA0A-790E-4D7F-8451-AA850511C6B9");

public static readonly EVENT_DESCRIPTOR_DECL Present_Start = new()
{
Id = 0x0001,
Version = 0x00,
Channel = 0x10,
Level = 0x00,
Opcode = 0x01,
Task = 0x0001,
Keyword = 0x8000000000000002,
};
public static readonly EVENT_DESCRIPTOR_DECL Present_Start = new(0x0001, 0x00, 0x10, 0x00, 0x01, 0x0001, 0x8000000000000002);

public static readonly EVENT_DESCRIPTOR_DECL Present_Stop = new()
{
Id = 0x0002,
Version = 0x00,
Channel = 0x10,
Level = 0x00,
Opcode = 0x02,
Task = 0x0001,
Keyword = 0x8000000000000002,
};
public static readonly EVENT_DESCRIPTOR_DECL Present_Stop = new(0x0002, 0x00, 0x10, 0x00, 0x02, 0x0001, 0x8000000000000002);

public enum Keyword : ulong
{
Expand Down

0 comments on commit 31dd036

Please sign in to comment.