IOnOffTransitionManager
クライアントが IProfileCollection のプロファイルをブート トレースのためにレジストリに格納するのを許可しますが、プロファイルの実行はしません。 この動作は、プロファイルをすぐに実行する IControlManager の動作とは対照的です。 システムが起動するとき、Windows イベント トレーシング (ETW) はレジストリ キーを読み取り、それに応じて起動トレースのプロバイダーを有効にします。 ライブラリは、起動時に実行するように構成されたタスク スケジューラ ジョブを開始することで、PCW データの収集を有効にします。
構文
{
[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)
;
};
関数
このインターフェイスは、次の表で説明する関数を提供します。
機能 | 説明 |
---|---|
指定されたプロファイル コレクションのブート記録を有効にします。 |
|
指定されたプロファイル コレクションのブート記録を無効にします。 |
|
シャットダウン記録を開始します。 |
|
シャットダウン記録を更新します。 |
|
シャットダウン記録を統合します。 |