3.2.4.4.3.67 IVolumeClient3::DeleteAccessPath (Opnum 78)

The DeleteAccessPath method deletes a specified mount point from a volume, partition, or logical drive.

 HRESULT DeleteAccessPath(
   [in] LdmObjectId volumeId,
   [in] int cch_path,
   [in, size_is(cch_path)] WCHAR* path
 );

volumeId: Specifies the OID of the volume, partition, or logical drive from which to delete the mount point.

cch_path: Length of path in characters, including the terminating null character.

path: Null-terminated path of the mount point to delete.

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