阅读:1020回复:0
如何通过一个Driver的Name获取到它的PDO的Name
比如Driver Name = ACPI,如果通过程序在中得到它的PDO名字,我的机器是\device\00000073?
以下是我用WinDbg得到的结果: lkd> !drvobj acpi Driver object (85764f38) is for: \Driver\ACPI Driver Extension List: (id , addr) Device Object list: 857308d0 856e5198 85768df8 857668e0 8572f770 8572f888 8572f9a0 8572fab8 8572fbd0 8572fce8 8572fe00 8572ff18 8572f030 856e62b0 856e63c8 856e64e0 856e65f8 856e6710 856e6828 856e6940 857934c0 857935d8 857936f0 85793808 85793920 85793a38 85793b50 85793c68 85793d80 857db570 857dc570 857b71f0 85766a30 857ded08 857dee20 85718730 85794a00 857451a8 85765e98 85764968 lkd> !devstack 85764968 !DevObj !DrvObj !DevExt ObjectName > 85764968 \Driver\ACPI 85763ea0 857deaa8 \Driver\ACPI_HAL 857deb60 00000073 !DevNode 85793170 : DeviceInst is "ACPI_HAL\PNP0C08\0" ServiceName is "ACPI" |
|