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.ReportPersistentIScsiDevicesA |
ReportPersistentIScsiDevicesA function (iscsidsc.h) |
The ReportPersistentIscsiDevices function retrieves the list of persistently bound volumes and devices. (ANSI) |
|
iscsidisc\reportpersistentiscsidevices.htm |
iSCSIDisc |
856e240d-8c4d-4e55-aef3-71f98193c221 |
12/05/2018 |
ReportPersistentIScsiDevicesA, ReportPersistentIscsiDevices, ReportPersistentIscsiDevices function [iSCSI Discovery Library API], ReportPersistentIscsiDevicesA, ReportPersistentIscsiDevicesW, iscsidisc.reportpersistentiscsidevices, iscsidsc/ReportPersistentIscsiDevices, iscsidsc/ReportPersistentIscsiDevicesA, iscsidsc/ReportPersistentIscsiDevicesW |
iscsidsc.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
ReportPersistentIscsiDevicesW (Unicode) and ReportPersistentIscsiDevicesA (ANSI) |
Iscsidsc.lib |
Iscsidsc.dll |
Windows |
19H1 |
|
|
|
|
|
|
The ReportPersistentIscsiDevices function retrieves the list of persistently bound volumes and devices.
A ULONG value that specifies the number of list elements contained by the Buffer parameter.
Pointer to a buffer that receives the list of volumes and devices that are persistently bound. The list consists of null-terminated strings. The last string, however, is double null-terminated.
Returns ERROR_SUCCESS if the operation succeeds or ERROR_INSUFFICIENT_BUFFER if the buffer was insufficient to receive the output data. Otherwise, ReportPersistentiScsiDevices returns the appropriate Win32 or iSCSI error code on failure.
Note
The iscsidsc.h header defines ReportPersistentIScsiDevices as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.