From f11f8d672ce2eb340f390dd876df30a3d78a4a0c Mon Sep 17 00:00:00 2001 From: Mike Battista <13860912+mikebattista@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:29:17 -0500 Subject: [PATCH] Problem with the dwreadflags parameter of the ReadEventLog function. Fixed #2028. --- generation/WinSDK/enums.json | 13 +++++++++---- scripts/ChangesSinceLastRelease.txt | 6 ++++++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/generation/WinSDK/enums.json b/generation/WinSDK/enums.json index f20c2127..4dbf8825 100644 --- a/generation/WinSDK/enums.json +++ b/generation/WinSDK/enums.json @@ -17813,14 +17813,19 @@ }, { "name": "READ_EVENT_LOG_READ_FLAGS", + "flags": true, "members": [ { - "name": "EVENTLOG_SEEK_READ", - "value": "2" + "name": "EVENTLOG_SEEK_READ" }, { - "name": "EVENTLOG_SEQUENTIAL_READ", - "value": "1" + "name": "EVENTLOG_SEQUENTIAL_READ" + }, + { + "name": "EVENTLOG_FORWARDS_READ" + }, + { + "name": "EVENTLOG_BACKWARDS_READ" } ], "uses": [ diff --git a/scripts/ChangesSinceLastRelease.txt b/scripts/ChangesSinceLastRelease.txt index 155516fc..ab72214a 100644 --- a/scripts/ChangesSinceLastRelease.txt +++ b/scripts/ChangesSinceLastRelease.txt @@ -7074,3 +7074,9 @@ Windows.Win32.UI.Input.GameInput.IGameInputReading added Windows.Win32.Storage.FileSystem.Apis.GetFileInformationByName added # Namespace of IsCharLowerW seems wrong #2030 Windows.Win32.UI.Controls.Apis.IsCharLowerW => Windows.Win32.UI.WindowsAndMessaging.Apis.IsCharLowerW +# Problem with the dwreadflags parameter of the ReadEventLog function #2028 +Windows.Win32.System.EventLog.READ_EVENT_LOG_READ_FLAGS : => [Flags] +Windows.Win32.System.EventLog.READ_EVENT_LOG_READ_FLAGS.EVENTLOG_BACKWARDS_READ added +Windows.Win32.System.EventLog.READ_EVENT_LOG_READ_FLAGS.EVENTLOG_FORWARDS_READ added +Windows.Win32.System.SystemServices.Apis.EVENTLOG_BACKWARDS_READ removed +Windows.Win32.System.SystemServices.Apis.EVENTLOG_FORWARDS_READ removed