3.2.4.4.3.24 IVolumeClient3::EnumVolumes (Opnum 27)

The EnumVolumes method enumerates the dynamic volumes of the server.

 HRESULT EnumVolumes(
   [in, out] unsigned long* volumeCount,
   [out, size_is(,*volumeCount)] VOLUME_INFO** LdmVolumeList
 );

volumeCount: Pointer to the number of elements returned in LdmVolumeList.

LdmVolumeList: Pointer to an array of VOLUME_INFO structures representing the dynamic volumes of the server.

Return Values: The method MUST return 0 or a nonerror HRESULT on success, or an implementation-specific nonzero error code on failure (as specified in [MS-ERREF]; see also section 2.2.1 for HRESULT values predefined by the Disk Management Remote Protocol).

When the server receives an IVolumeClient3::EnumVolumes message, it MUST process that message, as specified in IVolumeClient::EnumVolumes (section 3.2.4.4.1.24).