3.2.4.4.3.39 IVolumeClient3::UninitializeDisk (Opnum 42)
The UninitializeDisk method removes a disk from control by the volume manager.
-
HRESULT UninitializeDisk( [in] LdmObjectId diskId, [in] hyper diskLastKnownState, [out] TASK_INFO* tinfo );
diskId: Specifies the OID of the disk to remove from volume manager control.
diskLastKnownState: Last known modification sequence number of the disk.
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::UninitializeDisk message, it MUST process that message, as specified in IVolumeClient::UninitializeDisk (section 3.2.4.4.1.36).