Skip to main content

WdCloseCancellationHandle

Closes a cancellation handle created by WdCreateCancellationHandle.

Syntax

Parameters

_In_ cancellationHandle
Type: WdCancellationHandle
The cancellation handle to close. After this call, the handle is no longer valid and must not be used.

Return value

This function does not return a value.

Remarks

Every handle created by WdCreateCancellationHandle or duplicated by WdDuplicateCancellationHandle must be closed independently with WdCloseCancellationHandle. Close the handle after WdRemoteCopy has returned and the handle is no longer needed.

Requirements

See also

Last modified on August 20, 2026