3.2.4.4.3.12 IVolumeClient3::FTDeleteVolume (Opnum 15)

The FTDeleteVolume method deletes the FT volume specified by volumeId on basic disks (rather than dynamic disks).<196>

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

volumeId: Specifies the OID of the volume to delete.

force: Boolean value that indicates if deletion of a partition will be forced. The call to delete will fail if the volume is locked by some other application and this flag is not set.

Value

Meaning

FALSE

0

Deletion will not be forced if the partition is in use.

TRUE

1

Deletion of the partition will be forced.

volumeLastKnownState: Volume'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::FTDeleteVolume message, it MUST process that message, as specified in IVolumeClient::FTDeleteVolume (section 3.2.4.4.1.12).