Share via


IOnOffTransitionManager

Applies To: Windows 8, Windows 8.1

Enables the client to store the profiles in the IProfileCollection to the registry for boot tracing, but does not run the profiles. This behavior contrasts with that ofIControlManager, which runs the profile immediately. When the system boots, Event Tracing for Windows® (ETW) reads the registry keys and enables providers for boot tracing accordingly. The library enables collection of PCW data by starting a task scheduler job configured to run on boot.

{
  [id(1), helpstring("EnableBootRecording")] HRESULT EnableBootRecording
    ([in] IProfileCollection* pProfileCollection);
  [id(2), helpstring("DisableBootRecording")] HRESULT DisableBootRecording
    ([in] IProfileCollection* pProfileCollection);
  [id(3), helpstring("StartShutdownRecording")] HRESULT StartShutdownRecording
    ([in] IProfileCollection* pProfileCollection);
  [id(4), helpstring("UpdateShutdownRecording")] HRESULT UpdateShutdownRecording
    ([in] IProfileCollection* pProfileCollection);
  [id(5), helpstring("MergeShutdownRecording")] HRESULT MergeShutdownRecording
    ([in] BSTR bstrFileName,
    [in] IProfileCollection* pProfileCollection,
    [in] ITraceMergeProperties* pTraceMergeProperties)
  ;
};

Functions

This interface provides the functions described in the following table.

Function Description

EnableBootRecording

Enables boot recording for the specified profile collection.

DisableBootRecording

Disables boot recording for the specified profile collection.

StartShutdownRecording

Starts shutdown recording.

UpdateShutdownRecording

Updates shutdown recording.

MergeShutdownRecording

Merges shutdown recordings.

See Also

Other Resources

Interfaces