3.2.4.4.3.55 IVolumeClient3::AbortTask (Opnum 66)

The AbortTask method aborts a task running on the server.

 HRESULT AbortTask(
   [in] LdmObjectId id
 );

id: Specifies the OID of the task to be aborted.

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