3.2.4.4.3.46 IVolumeClient3::RestartVolume (Opnum 49)

The RestartVolume method attempts to bring a dynamic volume back online.

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

volumeId: Specifies the OID of the volume to restart.

volumeLastKnownState: Last known modification sequence number of the volume.

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

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