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

# WdLaunchMode

> WdLaunchMode

# WdLaunchMode

指定远程游戏的启动模式。

## 语法

```cpp theme={null}
enum class WdLaunchMode : uint32_t
{
    Immediate = 0,
    Suspended = 1
};
```

### 常量

| 常量 | 值 | 说明 |
| - | - | - |
| Immediate | 0 | 立即启动游戏。这是默认模式。 |
| Suspended | 1 | 以挂起状态启动游戏。游戏进程被创建，但在调用 [WdResumeRemoteGame](https://docs.xbox.com/zh-CN/reference/remoting/functions/wdresumeremotegame.md) 之前不会开始执行。这在开始执行前附加调试器时很有用。 |

## 备注

此枚举用于 [WdLaunchOptions](https://docs.xbox.com/zh-CN/reference/remoting/structs/wdlaunchoptions.md) 结构体，以控制 [WdLaunchRemoteGame](https://docs.xbox.com/zh-CN/reference/remoting/functions/wdlaunchremotegame.md) 如何在远程设备上启动游戏。

## 要求

| 要求 | 值 |
| - | - |
| **头文件** | WdRemoteIteration.h |
| **库** | wdremoteapi.lib |
| **支持的操作系统** | Windows 11 及更高版本 |
| **支持的体系结构** | x64、ARM64 |

## 另请参阅

* [WdLaunchRemoteGame](https://docs.xbox.com/zh-CN/reference/remoting/functions/wdlaunchremotegame.md)
* [WdResumeRemoteGame](https://docs.xbox.com/zh-CN/reference/remoting/functions/wdresumeremotegame.md)
* [WdLaunchOptions](https://docs.xbox.com/zh-CN/reference/remoting/structs/wdlaunchoptions.md)
* [XBOX PC 远程迭代 API](https://docs.xbox.com/zh-CN/reference/remoting/remoteiteration_members.md)


## Related topics

- [WdLaunchOptions](https://docs.xbox.com/zh-CN/reference/remoting/structs/wdlaunchoptions.md)
- [WdLaunchRemoteGame](https://docs.xbox.com/zh-CN/reference/remoting/functions/wdlaunchremotegame.md)
- [WdResumeRemoteGame](https://docs.xbox.com/zh-CN/reference/remoting/functions/wdresumeremotegame.md)
- [XBOX PC Remote Iteration API](https://docs.xbox.com/zh-CN/reference/remoting/remoteiteration_members.md)
- [Launch](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/launch-ixtfapplicationclient-xtfapplication-xbox-microsoft-m.md)
