StartDiagnosticLog method of the MSFT_StorageSubSystem class

Starts a diagnostic log for the storage subsystem.

Syntax

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

Parameters

Level [in]

MaxLogSize [in]

This value is in units of megabytes.

ExtendedStatus [out]

A string that contains an embedded MSFT_StorageExtendedStatus object.

This parameter allows the storage provider to return extended (implementation-specific) error information.

Return value

See Storage Management API Common Return Codes.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Namespace Root\Microsoft\Windows\Storage
MOF Storagewmi.mof

See also

MSFT_StorageSubSystem