3.2.4.4.3.25 IVolumeClient3::EnumVolumeMembers (Opnum 28)

The EnumVolumeMembers method enumerates the regions of the specified dynamic volume.

 HRESULT EnumVolumeMembers(
   [in] LdmObjectId volumeId,
   [in, out] unsigned long* memberCount,
   [out, size_is(,*memberCount)] LdmObjectId** memberList
 );

volumeId: Specifies the OID of the volume for which the regions are being enumerated.

memberCount: Pointer to the number of disk regions returned in memberList.

memberList: Array of LdmObjectId objects that store the identification handles of the regions.

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::EnumVolumeMembers message, it MUST process that message, as specified in IVolumeClient::EnumVolumeMembers (section 3.2.4.4.1.25).