On Wed Sep 4 21:55:51 2024 +0000, Grigory Vasilyev wrote:
@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.
Take a look at how it's used for other functions.