> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WdDuplicateCancellationHandle

> WdDuplicateCancellationHandle

# WdDuplicateCancellationHandle

기존 [WdCancellationHandle](/reference/remoting/structs/wdcancellationhandle)을 복제합니다.

## 구문

```cpp theme={null}
HRESULT WdDuplicateCancellationHandle(  
         _In_ WdCancellationHandle cancellationHandle,  
         _Out_ WdCancellationHandle* duplicatedHandle  
);  
```

### 매개 변수

`_In_ cancellationHandle`\
형식: **[WdCancellationHandle](/reference/remoting/structs/wdcancellationhandle)**

복제할 취소 핸들입니다.

`_Out_ duplicatedHandle`\
형식: **[WdCancellationHandle](/reference/remoting/structs/wdcancellationhandle)\***

복제된 취소 핸들을 받습니다. 호출자는 [WdCloseCancellationHandle](/reference/remoting/functions/wdclosecancellationhandle)을 호출하여 이 핸들을 독립적으로 닫을 책임이 있습니다.

### 반환 값

형식: **HRESULT**

성공 시 `S_OK`를 반환하고, 그렇지 않으면 오류 코드를 반환합니다.

## 설명

여러 구성 요소가 동일한 취소 핸들을 참조해야 하는 경우 `WdDuplicateCancellationHandle`을 사용하세요. 원본 핸들과 복제된 핸들 모두 동일한 취소 상태를 참조합니다. 즉, 두 핸들 중 어느 것에 대해 [WdCancelRemoteCopy](/reference/remoting/functions/wdcancelremotecopy)로 취소를 시그널링하면 연결된 [WdRemoteCopy](/reference/remoting/functions/wdremotecopy) 작업이 취소됩니다. 각 핸들은 [WdCloseCancellationHandle](/reference/remoting/functions/wdclosecancellationhandle)로 독립적으로 닫아야 합니다.

## 요구 사항

| 요구 사항       | 값                   |
| ----------- | ------------------- |
| **헤더**      | WdRemoteIteration.h |
| **라이브러리**   | wdremoteapi.lib     |
| **지원 OS**   | Windows 11 이상       |
| **지원 아키텍처** | x64, ARM64          |

## 함께 보기

* [WdCreateCancellationHandle](/reference/remoting/functions/wdcreatecancellationhandle)
* [WdCloseCancellationHandle](/reference/remoting/functions/wdclosecancellationhandle)
* [WdCancellationHandle](/reference/remoting/structs/wdcancellationhandle)
* [WdRemoteCopy](/reference/remoting/functions/wdremotecopy)
* [WdCancelRemoteCopy](/reference/remoting/functions/wdcancelremotecopy)
* [XBOX PC Remote Iteration API](/reference/remoting/remoteiteration_members)


## Related topics

- [WdCancellationHandle](/ko/reference/remoting/structs/wdcancellationhandle.md)
- [WdCloseCancellationHandle](/ko/reference/remoting/functions/wdclosecancellationhandle.md)
- [WdCreateCancellationHandle](/ko/reference/remoting/functions/wdcreatecancellationhandle.md)
- [XBOX PC Remote Iteration API](/ko/reference/remoting/remoteiteration_members.md)
- [WdRemoteCopy](/ko/reference/remoting/functions/wdremotecopy.md)
