本文介绍了Windows API调用重启PC到固件(BIOS / UEFI)设置屏幕???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我正在寻找Windows API调用(或其他一些"编程方法")来重启PC到固件(BIOS / UEFI)设置/配置屏幕。I'm looking for a Windows API call (or some other "programatic method) to reboot PC into the firmware (BIOS/UEFI) setup/configuration screen.我正在编写一个安装程序应用程序(用c ++编写),作为该应用程序的一部分,我想重新启动PC固件(BIOS / UEFI)设置/配置屏幕。  I'm writing an installer application (in c++), and as part of that application, I would like to reboot the PC firmware (BIOS/UEFI) setup/configuration screen. 任何人都知道可能有用的任何内容,或者我可以查找此信息的任何地方??? Anyone know anything that might work, or any place I could look for this information??? 注意:  Windows 10有一个UI可以做到这一点,我已经看到它是从其他安装程序完成的,所以我知道它是可能的。    推荐答案 嗨MediaWizrd,Hi MediaWizrd,感谢您在这里发帖。 >>我正在编写安装程序应用程序(用c ++编写),以及作为该应用程序的一部分,我想重新启动PC固件(BIOS / UEFI)设置/配置屏幕。 任何人都知道任何可行的方法,或者我可以查找此信息的任何地方??? 我'我担心没有这样的Windows API可以做到这一点。I'm afraid there has no such a Windows API could do that.你只能使用 SetFirmwareEnvironmentVariable function 或 GetFirmwareEnvironmentVariable函数设置指定固件环境变量的值。You could only use SetFirmwareEnvironmentVariable function or GetFirmwareEnvironmentVariable function to set\get the value of the specified firmware environment variable.这是一个关于如何启动到UEFI模式或传统BIOS模式的文档你作为参考。Here is a document about how to Boot to UEFI Mode or Legacy BIOS mode for you as a reference. https://msdn.microsoft.com/en-us/windows/hardware/commercialize/manufacture/desktop/boot-to-uefi-mode-or-legacy-bios-模式 或者你可以去 Microsoft Commu nity 或 UIFI论坛以获得更好的支持。Or you could go to Microsoft Communityor UIFI forum for better support.希望这个可以帮助你。最好的问候, 这篇关于Windows API调用重启PC到固件(BIOS / UEFI)设置屏幕???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-29 09:45