daor
驱动牛犊
驱动牛犊
  • 注册日期2001-05-16
  • 最后登录2018-04-15
  • 粉丝0
  • 关注0
  • 积分-25分
  • 威望2点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
阅读:1469回复:1

hidminidriver如何写?有无例程?

楼主#
更多 发布于:2001-05-25 09:30
想写这种驱动,但是找不到很好的参考程序。
谁知道,提供一下相关信息或者是给我mail一个.
主要是搞不清:
1.minidriver插入程序栈的方法(是否对inf文件有特定要求);
2.上层的hidclass.sys的一些资料,比如它如何跟hidminidriver通信,它在hid驱动中做
了哪些主要工作,hidminidriver中用不用再考虑使用中断;
3.DriverWorks里面的那个hidmouse例程似乎有错误,实践证明确实无法正常工作;

emial:   rysu@uestc.edu.cn
acx
acx
驱动小牛
驱动小牛
  • 注册日期2001-04-28
  • 最后登录2012-05-07
  • 粉丝0
  • 关注0
  • 积分61分
  • 威望57点
  • 贡献值0点
  • 好评度4点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-08-31 14:59
The system sends read IRPs to the HID class driver when it wants to find out what keys were either pressed or released. In Windows 98, the system always tries to keep two outstanding read requests: one to detect a key being depressed and one to detect a key being released. Read requests are sent to the HID minidriver using the IOCTL_HID_READ_REPORT IRP
很想你,身不由己……
游客

返回顶部