ScsiReadCapacity_OUT - NtDoc

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

typedef struct _ScsiReadCapacity_OUT {
  ULONG HBAStatus;
  ULONG ResponseBufferSize;
  ULONG SenseBufferSize;
  UCHAR ScsiStatus;
  UCHAR ResponseBuffer[1];
} ScsiReadCapacity_OUT, *PScsiReadCapacity_OUT;
View the official Windows Driver Kit DDI reference
// iscsiop.h

typedef struct _ScsiReadCapacity_OUT {
  ULONG Status;
  ULONG ResponseBufferSize;
  UCHAR ScsiStatus;
  UCHAR SenseBuffer[18];
  UCHAR ResponseBuffer[1];
} ScsiReadCapacity_OUT, *PScsiReadCapacity_OUT;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-hbapiwmi-_scsireadcapacity_out)

ScsiReadCapacity_OUT structure (hbapiwmi.h)

Description

The ScsiReadCapacity_OUT structure is used to report the output data of the ScsiReadCapacity WMI method to the WMI client.

Members

HBAStatus

Contains a value associated with the WMI class qualifier HBA_STATUS that indicates the result of an HBA query operation.

ResponseBufferSize

Indicates the size in bytes of the buffer that will hold the results of the read capacity command.

SenseBufferSize

Indicates the size in bytes of the buffer that will hold the SCSI sense data that results from the read capacity command.

ScsiStatus

Contains the status of the SCSI read capacity command.

ResponseBuffer[1]

Contains the results of the SCSI read capacity command.

Remarks

The WMI tool suite generates a declaration of the ScsiReadCapacity_OUT structure in Hbapiwmi.h when it compiles the MSFC_HBAAdapterMethods WMI Class.

See also

HBA_STATUS

ScsiReadCapacity


Windows Driver Kit DDI reference (ns-iscsiop-_scsireadcapacity_out)

_ScsiReadCapacity_OUT structure (iscsiop.h)

Description

The ScsiReadCapacity_OUT structure holds the output data for the ScsiReadCapacity method.

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

A buffer that holds the SCSI sense data that the SCSI READ CAPACITY command received.

ResponseBuffer

A buffer that holds the response data that the SCSI READ CAPACITY command received.

Remarks

You must implement this method.

See also

ISCSI_STATUS_QUALIFIERS

ScsiReadCapacity

ScsiReadCapacity_IN