On Wed Sep 4 20:57:34 2024 +0000, Nikolay Sivov wrote:
Usual pattern is to use set_ntstatus().
@nsivov I don't quite understand you. If NtQuerySystemInformation fails then boot_info.FirmwareType will contain FirmwareTypeUnknown, which is consistent with previous behavior, and will also be on systems other than Linux. Thus, it does not matter what status NtQuerySystemInformation returns, we will always have the current value corresponding to our system.