3.2.4.4.3.60 IVolumeClient3::RescanDisks (Opnum 71)
The RescanDisks method triggers the detection of changes in the list of storage devices connected to the server and refreshes the server's cache of storage objects, including regions, removable media and CD-ROM drive media, file systems, drive letters, and disk drives.
-
HRESULT RescanDisks();
This method has no parameters.
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::RescanDisks message, it MUST process that message, as specified in IVolumeClient::RescanDisks (section 3.2.4.4.1.57).