ScsiInquiry_OUT structure (iscsiop.h)

The ScsiInquiry_OUT structure holds the output data for the ScsiInquiry method.

Syntax

typedef struct _ScsiInquiry_OUT {
  ULONG Status;
  ULONG ResponseBufferSize;
  UCHAR ScsiStatus;
  UCHAR SenseBuffer[18];
  UCHAR ResponseBuffer[1];
} ScsiInquiry_OUT, *PScsiInquiry_OUT;

Members

Status

The status of the ScsiInquiry operation. This member will contain 0 if the INQUIRY operation succeeds and ISDSC_SCSI_REQUEST_FAILED if the operation fails. If the INQUIRY operation fails, ScsiStatus will contain the SCSI status of the SCSI command. SCSI status qualifiers are documented in the SCSI Primary Commands specification. For a list of status qualifiers, see ISCSI_STATUS_QUALIFIERS.

ResponseBufferSize

The response buffer size, in bytes.

ScsiStatus

The status of the SCSI INQUIRY command.

SenseBuffer[18]

A buffer that holds the SCSI sense data that the SCSI INQUIRY command received.

ResponseBuffer[1]

A buffer that holds the response data that the SCSI INQUIRY command received.

Remarks

You must implement this method.

Requirements

Requirement Value
Header iscsiop.h (include Iscsiop.h)

See also

ISCSI_STATUS_QUALIFIERS

ScsiInquiry

ScsiInquiry_IN