Bug#918863: reboot returns to Windows 10 on Lenovo X1
Am 04.02.19 um 13:42 schrieb Didier 'OdyX' Raboud:
> Le mardi, 15 janvier 2019, 17.39:00 h CET Bernhard Übelacker a écrit :
>> If such a system is detected, maybe a warning could be added?
>
> Sure. I suggest this would be done very early, but have no clue how to detect
> such a system. This would also make sense in time for buster. Could you work
> on a patch? Thomas; an idea?
A short search led to function kernel32!GetFirmwareType [1].
That is said to be supported since windows 8.
This function is already used in include/bootcfg.nsh, but
can not see any user, maybe just a preparation for future use ...
Kind regards,
Bernhard
[1] https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-getfirmwaretype
Reply to: