!wudfext.wudfdevice
L'estensione !wudfext.wudfdevice visualizza i sistemi di stato Plug and Play (PnP) e risparmio energia per un dispositivo.
!wudfext.wudfdevice pWDFDevice
Parametri
pWDFDevice
Specifica l'indirizzo dell'interfaccia IWDFDevice per visualizzare lo stato di risparmio energia o PnP.
DLL
Wudfext.dll
Informazioni aggiuntive
Per altre informazioni, vedere Debug del framework driver in modalità utente.
Osservazioni:
È possibile usare l'estensione !wudfext.wudfdevice per determinare lo stato di risparmio energia o PnP corrente del dispositivo specificato dal parametro pWDFDevice .
Di seguito è riportato un esempio della visualizzazione !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