emugine
驱动牛犊
驱动牛犊
  • 注册日期2002-03-05
  • 最后登录2006-03-24
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2105回复:2

更新驱动自动安装求助,有分相送:

楼主#
更多 发布于:2004-11-29 12:49
驱动程序做完了,但需要一个安装程序进行自动安装,手动是这么安装的:右击COM1口,点击更新驱动,然后到指定的位置找到inf文件进行安装,但自动安装我还不知道如何更新现有的驱动,UpdateDriverForPlugAndPlayDevices好象对整个HardwareId进行重新安装,在我这里体现在对COM1,COM2都进行了重新安装,而我仅希望重新安装COM1的驱动程序,哪位大虾玩个类似的自动安装,请指点一二。

最新喜欢:

dregsdregs
你有好的想法吗? 来,我们一起驱动它!
KMK
KMK
驱动大牛
驱动大牛
  • 注册日期2001-09-12
  • 最后登录2017-10-06
  • 粉丝2
  • 关注0
  • 积分42分
  • 威望404点
  • 贡献值2点
  • 好评度58点
  • 原创分1分
  • 专家分1分
  • 社区居民
沙发#
发布于: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

emugine
驱动牛犊
驱动牛犊
  • 注册日期2002-03-05
  • 最后登录2006-03-24
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2004-11-30 11:22
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
srcgeneralsetupinstall 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 srcinput directory of the DDK.

-Eliyas

 


给分以表感谢.
我试试看.

你有好的想法吗? 来,我们一起驱动它!
游客

返回顶部