OpenDOF Project
DOSStatus DOSRequestor_Cancel ( void  )

Cancel an existing operation.

DOSContext must be cleared, and the following fields set prior to this call: Operation The following DOSContext fields may optionally be set, prior to this call: Address DOSOperation_SetTimeout and DOSOperation_IncrementRetryCounter will be called automatically. DOSOperation_SetExplicit may be called to configure the operation, but other DOSOperation calls will have no effect. This function automatically calls DOSOperation_Remove() on the operation held in DOSContext.

Returns
DOSSTATUS_SUCCESS on success, or DOSSTATUS_SUCCESS_FINISHED if the operation is already complete and no cancel needs to be sent. Regardless, the operation is removed.
core-c-cos Version 7.0.1 Build 0
2018-02-08