Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An opaque handle used to cancel an in-progress copy operation.
Syntax
typedef struct WdCancellationHandleImpl* WdCancellationHandle;
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.
A handle can be duplicated using WdDuplicateCancellationHandle. Each copy of the handle must be closed independently with WdCloseCancellationHandle.
Requirements
| Requirement | Value |
|---|---|
| Header | WdRemoteIteration.h |
| Library | wdremoteapi.lib |
| Supported OS | Windows 11 and later |
| Supported architectures | x64, ARM64 |