共用方式為


UpdateShutdownRecording

更新關機錄製。

語法

HRESULT MergeShutdownRecording
  ([in] BSTR bstrFileName,
  [in] IProfileCollection* pProfileCollection,
  [in] ITraceMergeProperties* pTraceMergeProperties)
;

參數

bstrFileName
[in]指出記錄事件的事件追蹤記錄檔名稱 (ETL) 檔案。

pProfileCollection
[in]指出 IProfileCollection 物件。

pTraceMergeProperties
[in]指出 ITraceMergeProperties 物件。

傳回值

下表描述可能的傳回值。

傳回值 描述

S_OK

函式已成功更新關機錄製。

IOnOffTransitionManager