ScsiReadCapacity_OUT structure (iscsiop.h)
The ScsiReadCapacity_OUT structure holds the output data for the ScsiReadCapacity method.
Syntax
typedef struct _ScsiReadCapacity_OUT {
ULONG Status;
ULONG ResponseBufferSize;
UCHAR ScsiStatus;
UCHAR SenseBuffer[18];
UCHAR ResponseBuffer[1];
} ScsiReadCapacity_OUT, *PScsiReadCapacity_OUT;
Members
Status
The status of the ScsiReadCapacity method. This member will contain 0 if the READ CAPACITY operation succeeds and ISDSC_SCSI_REQUEST_FAILED if the operation fails. If the READ CAPACITY 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 READ CAPACITY command.
SenseBuffer[18]
A buffer that holds the SCSI sense data that the SCSI READ CAPACITY command received.
ResponseBuffer[1]
A buffer that holds the response data that the SCSI READ CAPACITY command received.
Remarks
You must implement this method.
Requirements
Requirement | Value |
---|---|
Header | iscsiop.h (include Iscsiop.h) |