WdCloseCancellationHandle

Closes a cancellation handle created by WdCreateCancellationHandle.

Syntax

void WdCloseCancellationHandle(  
         _In_ WdCancellationHandle cancellationHandle  
);  

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

Requirement Value
Header WdRemoteIteration.h
Library wdremoteapi.lib
Supported OS Windows 11 and later
Supported architectures x64, ARM64

See also