!wudfext.wudfdevice
!wudfext.wudfdevice 扩展显示设备的即插即用 (PnP) 和电源管理状态系统。
!wudfext.wudfdevice pWDFDevice
参数
pWDFDevice
指定要显示相关 PnP 或电源管理状态的 IWDFDevice 接口的地址。
DLL
Wudfext.dll
其他信息
有关详细信息,请参阅用户模式驱动程序框架调试。
注解
可以使用 !wudfext.wudfdevice 扩展来确定 pWDFDevice 参数指定的设备的当前 PnP 或电源管理状态。
下面是 !wudfext.wudfdevice 的显示示例:
kd> !wudfdevice 0xf2f80
Pnp Driver Callbacks:
IPnpCallback: 0x0
IPnpCallbackHardware: 0x0
IPnpSelfManagedIo: 0x0
Pnp State Machine:
CurrentState: WdfDevStatePnpStarted
Pending UMIrp: 0x00000000
Could not read event queue depth, assuming 8
Event queue:
Processed/in-process events:
PnpEventAddDevice
PnpEventStartDevice
PnpEventPwrPolStarted
Pending events:
State History:
WdfDevStatePnpInit
WdfDevStatePnpInitStarting
WdfDevStatePnpHardwareAvailable
WdfDevStatePnpEnableInterfaces
WdfDevStatePnpStarted
Power State Machine:
CurrentState: WdfDevStatePowerD0
Pending UMIrp: 0x00000000
IoCallbackFailure: false
Could not read event queue depth, assuming 8
Event queue:
Processed/in-process events:
PowerImplicitD0
Pending events:
State History:
WdfDevStatePowerStartingCheckDeviceType
WdfDevStatePowerD0Starting
WdfDevStatePowerD0StartingConnectInterrupt
WdfDevStatePowerD0StartingDmaEnable
WdfDevStatePowerD0StartingStartSelfManagedIo
WdfDevStatePowerDecideD0State
WdfDevStatePowerD0
Power Policy State Machine:
CurrentState : WdfDevStatePwrPolStartingSucceeded
PowerPolicyOwner : false
PendingSystemPower UMIrp : 0x00000000
PowerFailed : false
Could not read event queue depth, assuming 8
Event queue:
Processed/in-process events:
PwrPolStart
PwrPolPowerUp
Pending events:
State History:
WdfDevStatePwrPolStarting
WdfDevStatePwrPolStarted
WdfDevStatePwrPolStartingSucceeded