Debugging Tools for Windows |
The !wudfext.wudfdevice extension displays the Plug and Play (PnP) and power-management state systems for a device.
Windows NT 4.0 | Unavailable |
Windows 2000 | Unavailable |
Windows XP and later | Wudfext.dll |
You can use the !wudfext.wudfdevice extension to determine the current PnP or power-management state of the device that the pWDFDevice parameter specifies.
The following is an example of the !wudfext.wudfdevice display:
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
For more information, see User-Mode Driver Framework Debugging.