ReportPersistentIscsiDevices function

The ReportPersistentIscsiDevices function retrieves the list of persistently bound volumes and devices.

Syntax


 WINAPI ReportPersistentIscsiDevices(
  _Inout_ PULONG BufferSizeInChar,
  _Out_   PTCHAR Buffer
);

Parameters

BufferSizeInChar [in, out]

A ULONG value that specifies the number of list elements contained by the Buffer parameter.

Buffer [out]

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.

Return value

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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Iscsidsc.h

Library

Iscsidsc.lib

DLL

Iscsidsc.dll

Unicode and ANSI names

ReportPersistentIscsiDevicesW (Unicode) and ReportPersistentIscsiDevicesA (ANSI)

See also

AddPersistentIscsiDevice
ClearPersistentIscsiDevices
RemoveIscsiPersistentTarget
RemovePersistentIscsiDevice
ReportIscsiPersistentLogins
SetupPersistentIscsiDevices

 

 

Community Additions

ADD
Show: