MSFT_StorageSubSystem 類別的 StartDiagnosticLog 方法

啟動記憶體子系統的診斷記錄。

語法

UInt32 StartDiagnosticLog(
  [in]  UInt16 Level,
  [in]  UInt64 MaxLogSize,
  [out] String ExtendedStatus
);

參數

層級 [in]

MaxLogSize [in]

此值以 MB 為單位。

ExtendedStatus [out]

包含內嵌 MSFT_StorageExtendedStatus 物件的字串。

此參數可讓儲存提供者傳回擴充 (實作特定) 錯誤資訊。

傳回值

請參閱 記憶體管理 API 一般傳回碼

規格需求

需求
最低支援的用戶端 Windows 10 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2016 [僅限傳統型應用程式]
命名空間 Root\Microsoft\Windows\Storage
MOF Storagewmi.mof

另請參閱

MSFT_StorageSubSystem