> ## 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.

# WdResumeRemoteGame

> WdResumeRemoteGame

# WdResumeRemoteGame

원격 기기에서 [WdLaunchRemoteGame](https://docs.xbox.com/ko/reference/remoting/functions/wdlaunchremotegame.md)으로 마지막으로 일시 중단 모드로 실행된 게임을 재개합니다.

## 구문

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

### 매개 변수

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

게임을 재개할 원격 기기의 호스트 이름 또는 IP 주소입니다(예: `"192.168.1.100"` 또는 `"MyDevKit"`).

### 반환 값

형식: **HRESULT**

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

#### 오류 코드

| 코드 | 값 | 설명 | 근본 원인 | 문제 해결 |
| - | - | - | - | - |
| E\_GAMENOTSUSPENDED | 0x8C11400B | 지정된 프로세스를 재개할 수 없습니다. | 일시 중단 상태가 아니거나 일시 중단 컨텍스트가 더 이상 유효하지 않은 프로세스를 재개하려고 시도했습니다. | 재개하기 전에 프로세스 상태를 확인합니다. 다른 도구가 이미 프로세스를 재개하거나 종료하지 않았는지 확인합니다. |
| E\_GAMENOTRUNNING | 0x8C11400C | 실행 중인 게임 프로세스가 없습니다. | 일시 중단하거나 종료할 수 있는 실행 중인 게임 프로세스가 없습니다. | 현재 실행 중인 프로세스를 확인합니다. 게임 프로세스에 의존하는 API를 실행하기 전에 게임을 실행합니다. |
| E\_CONNECTIONERROR | 0x8C114014 | 연결 오류입니다. | 네트워크 연결을 설정할 때의 일반적인 실패(전송 계층 오류)이며, IP 주소 유효성이나 원격 컴퓨터 이름 확인과는 무관합니다. | 네트워크 연결, 방화벽 규칙, 원격 컴퓨터의 서비스 가용성을 확인합니다. 기기 간 가시성을 확인하고, 서로 ping이 가능해야 합니다. 로깅을 활성화한 상태에서 연결을 다시 시도합니다. |

## 설명

[WdLaunchMode::Suspended](https://docs.xbox.com/ko/reference/remoting/enums/wdlaunchmode.md)를 사용하여 [WdLaunchRemoteGame](https://docs.xbox.com/ko/reference/remoting/functions/wdlaunchremotegame.md)을 통해 일시 중단 모드로 마지막으로 실행된 게임을 재개하려면 이 함수를 사용하세요. 이는 일반적으로 일시 중단된 프로세스에 디버거를 연결한 후에 수행됩니다.

## 요구 사항

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

## 함께 보기

* [WdLaunchRemoteGame](https://docs.xbox.com/ko/reference/remoting/functions/wdlaunchremotegame.md)
* [WdTerminateRemoteGame](https://docs.xbox.com/ko/reference/remoting/functions/wdterminateremotegame.md)
* [WdLaunchMode](https://docs.xbox.com/ko/reference/remoting/enums/wdlaunchmode.md)
* [XBOX PC Remote Iteration API 오류 코드](https://docs.xbox.com/ko/reference/remoting/error-codes.md)
* [XBOX PC Remote Iteration API](https://docs.xbox.com/ko/reference/remoting/remoteiteration_members.md)


## Related topics

- [WdTerminateRemoteGame](https://docs.xbox.com/ko/reference/remoting/functions/wdterminateremotegame.md)
- [WdLaunchRemoteGame](https://docs.xbox.com/ko/reference/remoting/functions/wdlaunchremotegame.md)
- [WdLaunchMode](https://docs.xbox.com/ko/reference/remoting/enums/wdlaunchmode.md)
- [XBOX PC Remote Iteration API](https://docs.xbox.com/ko/reference/remoting/remoteiteration_members.md)
- [XBOX PC Remote (wdRemote.exe)](https://docs.xbox.com/ko/tools/tools-pc/commandlinetools/gr-wdRemote.md)
