阅读:2220回复:2
更新驱动自动安装求助,有分相送:
驱动程序做完了,但需要一个安装程序进行自动安装,手动是这么安装的:右击COM1口,点击更新驱动,然后到指定的位置找到inf文件进行安装,但自动安装我还不知道如何更新现有的驱动,UpdateDriverForPlugAndPlayDevices好象对整个HardwareId进行重新安装,在我这里体现在对COM1,COM2都进行了重新安装,而我仅希望重新安装COM1的驱动程序,哪位大虾玩个类似的自动安装,请指点一二。
|
|
最新喜欢:![]()
|
沙发#
发布于:2004-11-29 14:18
Message 3 in thread
Subject: RE: Installing a WDM Filter driver with an INF file ... From: Eliyas Yakub <xxx@microsoft.com> Date: Mon, 1 May 2000 12:22:54 -0700 Yes you can install a filter driver programmatically using UpdateDriverForPlugAndPlayDevices function. The install sample under src\general\setup\install shows how to use this function. The INF file used for this purpose is a special kind of INF file that uses Needs and Includes directive to include sections from an already installed function driver's INF file. We have sample INF files in the DDK to how this should be written. Check out the Filter.inf in the toaster sample or Kbfiltr.inf/Moufiltr.inf in the src\input\ directory of the DDK. -Eliyas |
|
板凳#
发布于:2004-11-30 11:22
Message 3 in thread 给分以表感谢. 我试试看. |
|
|