Skip to main content

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:
  1. Create a handle by calling WdCreateCancellationHandle.
  2. Pass the handle to WdRemoteCopy via the cancellationHandle parameter.
  3. To cancel the in-progress copy, call WdCancelRemoteCopy with the handle from a separate thread.
  4. After WdRemoteCopy returns, close the handle by calling WdCloseCancellationHandle.
A handle can be duplicated using WdDuplicateCancellationHandle. Each copy of the handle must be closed independently with WdCloseCancellationHandle.

Requirements

See also

Last modified on August 20, 2026