IOnOffTransitionManager
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.
Syntax
{
[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 |
---|---|
Enables boot recording for the specified profile collection. |
|
Disables boot recording for the specified profile collection. |
|
Starts shutdown recording. |
|
Updates shutdown recording. |
|
Merges shutdown recordings. |