WdCancellationHandle
An opaque handle used to cancel an in-progress copy operation.Syntax
Remarks
WdCancellationHandle is a typedef pointer to an opaque internal structure. The caller is responsible for managing the handle lifecycle:
- Create a handle by calling WdCreateCancellationHandle.
- Pass the handle to WdRemoteCopy via the
cancellationHandleparameter. - To cancel the in-progress copy, call WdCancelRemoteCopy with the handle from a separate thread.
- After
WdRemoteCopyreturns, close the handle by calling WdCloseCancellationHandle.
WdCloseCancellationHandle.
