IWDTFSystemAction2::PowerAnalyzeTraceByFile method (wdtfsystemaction.h)

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.

Syntax

HRESULT PowerAnalyzeTraceByFile(
  [in] BSTR EventFilePath
);

Parameters

[in] EventFilePath

Specifies the location to store the trace message (.etl) log file.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Desktop
Header wdtfsystemaction.h

See also

IWDTFSystemAction2