阅读:1023回复:2
请问:WDM的PCI驱动如何获得bus,slot信息?
rt
|
|
沙发#
发布于: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. |
|
|
板凳#
发布于:2004-07-27 10:10
3x
|
|