3.2.4.2.48.43 Cancel (Opnum 53)
The Cancel method stops the associated running file management task, if any, from continuing and returns S_OK upon successful completion.
-
[id(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x03)] HRESULT Cancel();
This method has no parameters.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
The Running Job whose Running Job.Parent in the Running File Management Job Queue whose Name is equivalent to the Name of this instance will be referred to as the associated running job.
The server MUST set the Running Job.Cancel property of the associated running job to true or return a nonzero error code.
If the Running Job.Parent of the associated running job has a Running status of FsrmReportRunningStatus_NotRunning when the call is made, the method MUST be treated as successful and return zero.