WdCancelRemoteCopy
Cancels an in-progress copy operation.Syntax
Parameters
_In_ cancellationHandleType: WdCancellationHandle The cancellation handle created by WdCreateCancellationHandle and passed to WdRemoteCopy. Signaling this handle causes the in-progress copy to be cancelled.
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an error code.
Remarks
CallWdCancelRemoteCopy from a separate thread to cancel a blocking WdRemoteCopy call. WdCancelRemoteCopy is a non-blocking function. After cancellation is signaled, WdRemoteCopy will cancel the copy and return S_OK.
