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

# WdRemoveDevice

> WdRemoveDevice

저장된 기기 레코드와 해당 메타데이터를 제거합니다.

**도입된 릴리스:** [RIT 0.0.14-preview](https://docs.xbox.com/ko/reference/remoting/release-versions.md#release-versions).

## 구문

```cpp theme={null}
HRESULT WD_REMOTE_ITERATION_CALL WdRemoveDevice(
    _In_z_ const char* remoteDevice
);
```

### 매개 변수

`remoteDevice`\
형식: **const char\***

UTF-8로 인코딩된 저장된 기기 이름 또는 IP 주소입니다. 이 작업은 현재 사용자의 로컬 카탈로그에서 수행됩니다.

### 반환 값

형식: **HRESULT**

성공 시 `S_OK`를 반환하고, 그렇지 않으면 실패 HRESULT를 반환합니다. 카탈로그 작업은 [오류 코드](https://docs.xbox.com/ko/reference/remoting/error-codes.md)에 설명된 카탈로그별 오류도 반환합니다.

## 설명

존재하지 않는 레코드를 제거해도 성공합니다. 기본 레코드를 제거하면 기본 선택도 지워집니다. 이 작업은 로컬 키, 페어링 권한 부여 또는 엔드포인트의 권한 부여를 제거하지 않습니다.

저장된 기기 API와 페어링 ID API는 서로 다른 로컬 저장소를 변경합니다. 이러한 API는 원격 API 호출의 명시적인 `remoteDevice` 인수를 대체하지 않습니다. 기본 기기 선택을 사용하려는 호출자는 직접 이를 확인해야 합니다.

## 요구 사항

| 요구 사항 | 값 |
| - | - |
| **헤더** | WdRemoteIteration.h |
| **라이브러리** | wdremoteapi.lib |
| **NuGet 패키지** | [Microsoft.GDK.RemoteIterationClientApi](https://aka.ms/GameDevRemoteAPI) |

## 함께 보기

* [XBOX PC Remote Iteration API](https://docs.xbox.com/ko/reference/remoting/remoteiteration_members.md)


## Related topics

- [XBOX PC Remote Iteration API](https://docs.xbox.com/ko/reference/remoting/remoteiteration_members.md)
- [WdRemoveDeviceId](https://docs.xbox.com/ko/reference/remoting/functions/wdremovedeviceid.md)
- [WdRemoveDeviceProperty](https://docs.xbox.com/ko/reference/remoting/functions/wdremovedeviceproperty.md)
- [WdRemoveDeviceMetadataNamespace](https://docs.xbox.com/ko/reference/remoting/functions/wdremovedevicemetadatanamespace.md)
- [WdEnumDevices](https://docs.xbox.com/ko/reference/remoting/functions/wdenumdevices.md)
