如何使用 Delphi 备份 Windows 驱动程序

发布于 2024-10-09 08:50:23 字数 95 浏览 0 评论 0 原文

有人可以帮助我并告诉我如何使用 Delphi 以编程方式备份​​ Windows 驱动程序吗?

非常感谢任何代码示例、文章链接

感谢您的宝贵时间

Can someone please help me and tell me how I can backup a Windows driver programmatically using Delphi?

Any code samples, links to articles are highly appreciated

Thanks for your time

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

瞎闹 2024-10-16 08:50:23

查看 适用于 Windows 2008 R2/Windows 7 (7.1.0) 的 Windows 驱动程序工具包 (WinDDK)

DevCon 示例

DEVCON

DevCon 是一个命令行工具,可显示有关设备的详细信息,并允许您从命令行搜索和操作设备。 DevCon 启用、禁用、安装、配置和删除本地计算机上的设备,并显示有关本地和远程计算机上的设备的详细信息。 DevCon 包含在 Windows DDK 中。

这应该会指出您需要哪个 API。

Take a look at the source of the DevCon utility which is included in the Windows Driver Kit (WinDDK) for Windows 2008 R2/Windows 7 (7.1.0).

DevCon Sample

DEVCON

DevCon is a command-line tool that displays detailed information about devices, and lets you search for and manipulate devices from the command line. DevCon enables, disables, installs, configures, and removes devices on the local computer and displays detailed information about devices on local and remote computers. DevCon is included in the Windows DDK.

This should point you to which API's you need.

薄凉少年不暖心 2024-10-16 08:50:23

Installing a Windows driver (and having Windows backup the previous one) requires to follow some rules you can find for example here and here (not difficult to find...). You can also create a restore point, if needed. Anyway you should explain if you'd like to "backup" a driver because you're installing a new one (and let Windows take care of it), or you just need to "backup" drivers even if the system is unmodified, to a device of your choice.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文