We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReadEventLog should accept a parameter like EVENTLOG_SEQUENTIAL_READ | EVENTLOG_BACKWARDS_READ, but the current code does not seem to be able to achieve this. https://github.com/microsoft/windows-rs/blob/d41381de6f3b10f008b30d81e35f046124ccb75d/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs#L365 https://github.com/microsoft/windows-rs/blob/d41381de6f3b10f008b30d81e35f046124ccb75d/crates/libs/windows/src/Windows/Win32/System/EventLog/mod.rs#L493
EVENTLOG_SEQUENTIAL_READ | EVENTLOG_BACKWARDS_READ,
The text was updated successfully, but these errors were encountered:
Looks like some of the flags for this API are not all grouped in READ_EVENT_LOG_READ_FLAGS and the enumeration doesn't have the Flags attribute.
READ_EVENT_LOG_READ_FLAGS
Flags
I'll transfer to the Win32 metadata repo for consideration.
Sorry, something went wrong.
Problem with the dwreadflags parameter of the ReadEventLog function. F…
f11f8d6
…ixed #2028.
mikebattista
Successfully merging a pull request may close this issue.
Suggestion
ReadEventLog should accept a parameter like
EVENTLOG_SEQUENTIAL_READ | EVENTLOG_BACKWARDS_READ,
but the current code does not seem to be able to achieve this.https://github.com/microsoft/windows-rs/blob/d41381de6f3b10f008b30d81e35f046124ccb75d/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs#L365
https://github.com/microsoft/windows-rs/blob/d41381de6f3b10f008b30d81e35f046124ccb75d/crates/libs/windows/src/Windows/Win32/System/EventLog/mod.rs#L493
The text was updated successfully, but these errors were encountered: