IWDTFSystemAction2 interface (wdtfsystemaction.h)
Defines operations and properties that support driver testing.
Inheritance
The IWDTFSystemAction2 interface inherits from IWDTFAction2. IWDTFSystemAction2 also has these types of members:
Methods
The IWDTFSystemAction2 interface has these methods.
IWDTFSystemAction2::ConnectedStandby Puts the system into Connected Standby state and exits Connected Standby state after the desired time has passed. This method only works on a computer that supports Always On Always Connected (AOAC). |
IWDTFSystemAction2::get_Critical Gets or sets a value that indicates whether the system power state is critical. |
IWDTFSystemAction2::get_IsRestarted Gets a value that indicates whether the test script restarted as a result of a call to RebootRestart or RebootRestartWithContext. |
IWDTFSystemAction2::get_SleepWakeTimeInSeconds Gets or sets the time in seconds when the system will wake from the sleep state. |
IWDTFSystemAction2::GetFirstSleepState Returns the first supported sleep state. |
IWDTFSystemAction2::GetNextSleepState Returns the next supported sleep state. |
IWDTFSystemAction2::IsRestartedWithContext Gets a value that indicates whether the test script was restarted for a specific context. |
IWDTFSystemAction2::PowerAnalyzeTraceByFile Analyzes a power trace session that has already been collected and stored in the associated trace message (.etl) log file. This method will only work on Windows 8 and above. |
IWDTFSystemAction2::PowerTracingEnd This method ends a power trace session. |
IWDTFSystemAction2::PowerTracingStart Starts a trace session for power state transitions and saves the trace message file (Wdtfpwr.etl) in the current working directory. This method is available starting with Windows 8. |
IWDTFSystemAction2::PowerTracingStartByFile Starts a trace session for power state transitions and saves the trace message file (.etl) using the specified path. This method is available starting with Windows 8. |
IWDTFSystemAction2::put_Critical Sets or gets a value that indicates whether the system power state is critical. |
IWDTFSystemAction2::put_SleepWakeTimeInSeconds Sets or gets the time in seconds when the system will wake from the sleep state. |
IWDTFSystemAction2::RebootRestart Restart the system and the current test. |
IWDTFSystemAction2::RebootRestartWithContext Reboots the system and restarts the test script with context data. |
IWDTFSystemAction2::Sleep Puts the system into the desired sleep state. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Professional |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | wdtfsystemaction.h |