STORAGE_DIAGNOSTIC_DATA - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddstor.h

typedef struct _STORAGE_DIAGNOSTIC_DATA {
  ULONG Version;
  ULONG Size;
  GUID  ProviderId;
  ULONG BufferSize;
  ULONG Reserved;
  UCHAR DiagnosticDataBuffer[ANYSIZE_ARRAY];
} STORAGE_DIAGNOSTIC_DATA, *PSTORAGE_DIAGNOSTIC_DATA;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddstor-_storage_diagnostic_data)

STORAGE_DIAGNOSTIC_DATA structure

Description

STORAGE_DIAGNOSTIC_DATA describes diagnostic data about the storage driver stack. It is provided in the output buffer of an IOCTL_STORAGE_DIAGNOSTIC request.

Members

Version

Version of this structure. Set to sizeof(STORAGE_DIAGNOSTIC_DATA).

Size

Specifies the whole size of the structure and the associated data buffer, in bytes.

ProviderId

Specifies the GUID of a diagnostic data provider.

BufferSize

The driver should set BufferSize as follows:

Reserved

Reserved for future use.

DiagnosticDataBuffer

Specifies the Diagnostic data buffer.

See also

IOCTL_STORAGE_DIAGNOSTIC

STORAGE_DIAGNOSTIC_REQUEST