SendScsiReadCapacity method of the MSIscsiInitiator_SessionClass class

TheSendScsiReadCapacitymethod sends the SCSI Read Capacity command to the specified Logical Unit Number (LUN).

Syntax

uint32 SendScsiReadCapacity(
  [in]  uint64 Lun,
  [out] uint8  ScsiStatus,
  [out] uint8  ResponseBuffer[],
  [out] uint8  SenseBuffer[]
);

Parameters

Lun [in]

The LUN to query for SCSI inquiry data.

ScsiStatus [out]

The execution status of the CDB.

ResponseBuffer [out]

A buffer containing the inquiry data.

SenseBuffer [out]

A buffer containing the sense data.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Namespace
Root\WMI
MOF
Iscsidsc.mof

See also

MSIscsiInitiator_SessionClass