3.2.4.4.3.36 IVolumeClient3::RemoveMirror (Opnum 39)

The RemoveMirror method removes a mirror from a dynamic volume.

 HRESULT RemoveMirror(
   [in] LdmObjectId volumeId,
   [in] hyper volumeLastKnownState,
   [in] LdmObjectId diskId,
   [in] hyper diskLastKnownState,
   [out] TASK_INFO* tinfo
 );

volumeId: Specifies the OID of the mirrored volume from which the disk is being removed.

volumeLastKnownState: Volume's last known modification sequence number.

diskId: Specifies the OID of the disk being removed from the volume.

diskLastKnownState: Last known modification sequence number of the disk being removed from the volume.

tinfo: Pointer to a TASK_INFO structure that the client can use to track the request's progress.

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