hong
驱动小牛
驱动小牛
  • 注册日期2001-09-19
  • 最后登录2005-12-16
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2806回复:4

Icon for device driver

楼主#
更多 发布于:2001-09-21 03:17
1) insert icon into the driver project as resouce, that say the driver file is myDriver.sys;
2) add following into the .inf file;

;win98........................................
[ClassInstall]
AddReg = AddIconWin98

[AddIconWin98]
HKR,,,,"my device name"
HKR,,EnumpropPages,,"..\system32\Drivers\myDriver.sys"
HKR,,Icon,,"0"


;win2000 section...........................
[ClassInstall32]
AddReg=AddIconWin2k

[AddIconWin2k]
HKR,,EnumpropPages,,"..\Drivers\myDriver.sys"
HKR,,Icon,,"0"

3)use device manager to update/reload the driver;
then you will see your new icon.

hong
驱动小牛
驱动小牛
  • 注册日期2001-09-19
  • 最后登录2005-12-16
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-09-24 21:57
i had made it work already and just want to share with public.
游客

返回顶部