UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:iscsidsc.SendScsiReportLuns |
SendScsiReportLuns function (iscsidsc.h) |
SendScsiReportLuns function sends a SCSI REPORT LUNS command to a specified target. |
|
iscsidisc\sendscsireportluns.htm |
iSCSIDisc |
0898daf0-67ae-47a4-90bf-2112b6e6b20c |
12/05/2018 |
SendScsiReportLuns, SendScsiReportLuns function [iSCSI Discovery Library API], iscsidisc.sendscsireportluns, iscsidsc/SendScsiReportLuns |
iscsidsc.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Iscsidsc.lib |
Iscsidsc.dll |
Windows |
19H1 |
|
|
|
|
|
|
SendScsiReportLuns function sends a SCSI REPORT LUNS command to a specified target.
A pointer to a ISCSI_UNIQUE_SESSION_ID structure that contains the session identifier for the login session of the target to query with the SCSI REPORT LUNS command.
A pointer to the location that receives the execution status of the CDB.
A pointer to the location that, on input, specifies the byte-size of ResponseBuffer. On output, this location specifies the number of bytes required to contain the response data for the READ CAPACITY command in the ResponseBuffer.
The buffer that receives response data for the READ CAPACITY command.
A pointer to a location that, on input, contains the byte-size of SenseBuffer. On output, the location pointed to receives the byte-size required for SenseBuffer to contain the sense data. This value will always be greater than or equal to 18 bytes.
The buffer that receives the sense data.
Returns ERROR_SUCCESS if the operation succeeds and ERROR_INSUFFICIENT_BUFFER if the buffer specified by ResponseBuffer is insufficient to hold the sense data.
If the device returns a SCSI error while processing the REPORT LUNS request, SendScsiReportLuns returns an error code of ISDSC_SCSI_REQUEST_FAILED, and the locations pointed to by ScsiStatus and SenseBuffer contain information detailing the SCSI error.
Otherwise, this function returns the appropriate Win32 or iSCSI error code on failure.