STORAGE_DIAGNOSTIC_MP_REQUEST - NtDoc

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

typedef struct _STORAGE_DIAGNOSTIC_MP_REQUEST {
  ULONG                             Version;
  ULONG                             Size;
  MP_STORAGE_DIAGNOSTIC_TARGET_TYPE TargetType;
  MP_STORAGE_DIAGNOSTIC_LEVEL       Level;
  GUID                              ProviderId;
  ULONG                             BufferSize;
  ULONG                             Reserved;
  UCHAR                             DataBuffer[ANYSIZE_ARRAY];
} STORAGE_DIAGNOSTIC_MP_REQUEST, *PSTORAGE_DIAGNOSTIC_MP_REQUEST;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddscsi-_storage_diagnostic_mp_request)

_STORAGE_DIAGNOSTIC_MP_REQUEST structure

Description

Describes a diagnostic request to Miniport. The STORAGE_DIAGNOSTIC_MP_REQUEST structure is provided in the input/output buffer of an IOCTL_SCSI_MINIPORT_DIAGNOSTIC request.

Members

Version

Version of this structure.

Size

Specifies the whole size of the structure and the associated data buffer.

TargetType

Specifies the request target type. See definitions for STORAGE_DIAGNOSTIC_TARGET_TYPE.

Level

Specifies the Diagnostic level. See definitions for STORAGE_DIAGNOSTIC_LEVEL.

ProviderId

Specifies the GUID of the diagnostic data provider.

BufferSize

Specifies the Data buffer size. As an input buffer, BufferSize should be set to number of bytes allocated for the DataBuffer. If the request is failed because of buffer too short, BufferSize should be set to the length required for DataBuffer by the diagnostic data provider; If the request is successful, it should be filled with returned data size of DataBuffer. For other cases, it should be cleared to 0.

Reserved

Reserved for future use.

DataBuffer

Specifies the Diagnostic data buffer.

See also

IOCTL_SCSI_MINIPORT_DIAGNOSTIC

STORAGE_DIAGNOSTIC_DATA

STORAGE_DIAGNOSTIC_LEVEL

STORAGE_DIAGNOSTIC_TARGET_TYPE