3.2.4.4.3.65 IVolumeClient3::EnumAccessPathForVolume (Opnum 76)

The EnumAccessPathForVolume method enumerates the mount points of a specified volume, partition, or logical drive.

 HRESULT EnumAccessPathForVolume(
   [in] LdmObjectId VolumeId,
   [in, out] int* lCount,
   [out, size_is(,*lCount)] COUNTED_STRING** paths
 );

volumeId: Specifies the OID of the volume, partition, or logical drive for which to enumerate mount points.

lCount: The address of an int that returns the number of elements returned in paths.

paths: Pointer to an array of COUNTED_STRING structures that describe the volume's mount points.

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