ScsiInquiry_OUT - NtDoc

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

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

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

NtDoc

No description available.

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

ScsiInquiry_OUT structure (hbapiwmi.h)

Description

The ScsiInquiry_OUT structure is used to report the output data of the ScsiInquiry 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 inquiry command.

SenseBufferSize

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

ScsiStatus

Contains the status of the SCSI inquiry command.

ResponseBuffer[1]

Contains the results of the SCSI inquiry command.

Remarks

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

See also

HBA_STATUS

ScsiInquiry


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

_ScsiInquiry_OUT structure (iscsiop.h)

Description

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

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

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

ResponseBuffer

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

Remarks

You must implement this method.

See also

ISCSI_STATUS_QUALIFIERS

ScsiInquiry

ScsiInquiry_IN