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

LitteSW
驱动中牛
驱动中牛
  • 注册日期2001-06-10
  • 最后登录2010-08-16
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望1点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-09-22 02:49
我记的以前论坛上有讨论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.
rayyang2000
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2012-09-13
  • 粉丝3
  • 关注0
  • 积分1036分
  • 威望925点
  • 贡献值3点
  • 好评度823点
  • 原创分0分
  • 专家分0分
地板#
发布于:2001-09-25 08:42
[QUOTE]原本由 hong 发表
[B]i had made it work already and just want to share with public.
 [/B][/QUOTE]
Thanks. But it still doesn't work for me.... :(
天天coding-debugging中----超稀饭memory dump file ======================================================== [b]Windows Device Driver Development and Consulting Service[/b] [color=blue][url]http://www.ybwork.com[/url][/color] ========================================================
wuqingtao
驱动牛犊
驱动牛犊
  • 注册日期2003-10-22
  • 最后登录2004-07-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2004-05-20 09:50
太好了,谢谢HONG
游客

返回顶部