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

# WdLaunchMode

> WdLaunchMode

# WdLaunchMode

指定遠端遊戲的啟動模式。

## 語法

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

### 常數

| 常數 | 值 | 描述 |
| - | - | - |
| Immediate | 0 | 立即啟動遊戲。這是預設模式。 |
| Suspended | 1 | 以暫停狀態啟動遊戲。遊戲處理序會建立，但在呼叫 [WdResumeRemoteGame](/zh-TW/reference/remoting/functions/wdresumeremotegame) 之前不會開始執行。這適合在開始執行之前附加偵錯工具。 |

## 備註

此列舉用於 [WdLaunchOptions](/zh-TW/reference/remoting/structs/wdlaunchoptions) 結構中，以控制 [WdLaunchRemoteGame](/zh-TW/reference/remoting/functions/wdlaunchremotegame) 在遠端裝置上啟動遊戲的方式。

## 需求

| 需求 | 值 |
| - | - |
| **標頭** | WdRemoteIteration.h |
| **程式庫** | wdremoteapi.lib |
| **支援的作業系統** | Windows 11 及更新版本 |
| **支援的架構** | x64、ARM64 |

## 另請參閱

* [WdLaunchRemoteGame](/zh-TW/reference/remoting/functions/wdlaunchremotegame)
* [WdResumeRemoteGame](/zh-TW/reference/remoting/functions/wdresumeremotegame)
* [WdLaunchOptions](/zh-TW/reference/remoting/structs/wdlaunchoptions)
* [XBOX PC Remote Iteration API](/zh-TW/reference/remoting/remoteiteration_members)


## Related topics

- [WdLaunchMode](/reference/remoting/enums/wdlaunchmode.md)
- [WdLaunchOptions](/reference/remoting/structs/wdlaunchoptions.md)
- [WdLaunchRemoteGame](/reference/remoting/functions/wdlaunchremotegame.md)
- [WdResumeRemoteGame](/reference/remoting/functions/wdresumeremotegame.md)
