ScsiReportLuns_OUT structure (iscsiop.h)

The ScsiReportLuns_OUT structure holds the output data for the ScsiReportLuns method.

Syntax

typedef struct _ScsiReportLuns_OUT {
  ULONG Status;
  ULONG ResponseBufferSize;
  UCHAR ScsiStatus;
  UCHAR SenseBuffer[18];
  UCHAR ResponseBuffer[1];
} ScsiReportLuns_OUT, *PScsiReportLuns_OUT;

Members

Status

The status of the ScsiReportLuns method. This member will contain 0 if the REPORT LUNS operation succeeds and ISDSC_SCSI_REQUEST_FAILED if the operation fails. If the REPORT LUNS 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 size, in bytes, of the buffer at ResponseBuffer.

ScsiStatus

The status of the SCSI REPORT LUNS command.

SenseBuffer[18]

A buffer that holds the SCSI sense data that the SCSI REPORT LUNS command received.

ResponseBuffer[1]

A buffer that holds the response data that the SCSI REPORT LUNS command received.

Remarks

You must implement this method.

Requirements

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

See also

AddConnectionToSession

ISCSI_STATUS_QUALIFIERS

LoginToTarget

ScsiReportLuns

ScsiReportLuns_IN