3.2.4.4.3.44 IVolumeClient3::ReAttachDisk (Opnum 47)
The ReAttachDisk method reattaches the specified dynamic disk, bringing the volumes of the disk online after reconnecting the disk device to the server.<215>
-
HRESULT ReAttachDisk( [in] LdmObjectId diskId, [in] hyper diskLastKnownState, [out] TASK_INFO* tinfo );
diskId: Specifies the OID of the disk to reattach.
diskLastKnownState: The disk's last known modification sequence number.
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::ReAttachDisk message, it MUST process that message, as specified in IVolumeClient::ReAttachDisk (section 3.2.4.4.1.41).