hear_rain
驱动牛犊
驱动牛犊
  • 注册日期2004-07-06
  • 最后登录2004-08-17
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1010回复:2

请问:WDM的PCI驱动如何获得bus,slot信息?

楼主#
更多 发布于:2004-07-26 11:24
rt
seaquester
驱动大牛
驱动大牛
  • 注册日期2002-05-22
  • 最后登录2016-06-16
  • 粉丝0
  • 关注0
  • 积分500分
  • 威望115点
  • 贡献值0点
  • 好评度107点
  • 原创分0分
  • 专家分52分
沙发#
发布于:2004-07-27 08:36
可以用下面的函数获得板卡的(物理)Bus slot号

IoGetDeviceProperty()
Param: DeviceProperty = DevicePropertyUINumber

This number is typically a user-perceived slot number, such as a number printed next to the slot on the board,or some other number that makes locating the physical device easier for the user. If the device is on a bus that has no UI number convention, or if the bus driver for the device can't determine the UI number, this value is 0xFFFFFFFF.
八风舞遥翩,九野弄清音。 鸣高常向月,善舞不迎人。
hear_rain
驱动牛犊
驱动牛犊
  • 注册日期2004-07-06
  • 最后登录2004-08-17
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2004-07-27 10:10
3x
游客

返回顶部