RAW_SCSI_VIRTUAL_DISK_RESPONSE structure (virtdisk.h)

Contains raw SCSI virtual disk response parameters.

Syntax

typedef struct _RAW_SCSI_VIRTUAL_DISK_RESPONSE {
  RAW_SCSI_VIRTUAL_DISK_VERSION Version;
  union {
    struct {
      UCHAR ScsiStatus;
      UCHAR SenseInfoLength;
      ULONG DataTransferLength;
    } Version1;
  };
} RAW_SCSI_VIRTUAL_DISK_RESPONSE, *PRAW_SCSI_VIRTUAL_DISK_RESPONSE;

Members

Version

A RAW_SCSI_VIRTUAL_DISK_PARAMETERS structure being passed to or from the VHD functions.

Version1

A structure with the following member.

Version1.ScsiStatus

A SRB_STATUS-prefixed status value (defined in srb.h).

Version1.SenseInfoLength

Length, in bytes, of the sense buffer.

Version1.DataTransferLength

Length, in bytes, of the buffer to be transferred.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header virtdisk.h