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

# WdLaunchOptions

> WdLaunchOptions

# WdLaunchOptions

Especifica las opciones para iniciar un juego en un dispositivo remoto.

## Sintaxis

```cpp theme={null}
struct WdLaunchOptions
{
    WdLaunchMode launchMode;
    const char* commonRootAlias;
};
```

### Miembros

`launchMode`\
Tipo: **[WdLaunchMode](https://docs.xbox.com/es/reference/remoting/enums/wdlaunchmode.md)**

Modo de inicio del juego. Use `WdLaunchMode::Immediate` para iniciar el juego inmediatamente, o `WdLaunchMod::Suspended` para iniciarlo en estado suspendido (útil para asociar un depurador antes de que comience la ejecución).

`commonRootAlias`\
Tipo: **const char\***

Alias de raíz común opcional. Pase `nullptr` para usar el alias predeterminado.

## Comentarios

Pase esta estructura a [WdLaunchRemoteGame](https://docs.xbox.com/es/reference/remoting/functions/wdlaunchremotegame.md) mediante el parámetro `launchOptions` para controlar cómo se inicia el juego. Si se pasa `nullptr` para `launchOptions`, el juego se inicia inmediatamente sin alias de raíz común.

## Requisitos

| Requisito | Valor |
| - | - |
| **Encabezado** | WdRemoteIteration.h |
| **Biblioteca** | wdremoteapi.lib |
| **Sistemas operativos compatibles** | Windows 11 y versiones posteriores |
| **Arquitecturas compatibles** | x64, ARM64 |

## Consulte también

* [WdLaunchRemoteGame](https://docs.xbox.com/es/reference/remoting/functions/wdlaunchremotegame.md)
* [WdLaunchMode](https://docs.xbox.com/es/reference/remoting/enums/wdlaunchmode.md)
* [API XBOX PC Remote Iteration](https://docs.xbox.com/es/reference/remoting/remoteiteration_members.md)


## Related topics

- [WdLaunchMode](https://docs.xbox.com/es/reference/remoting/enums/wdlaunchmode.md)
- [WdLaunchRemoteGame](https://docs.xbox.com/es/reference/remoting/functions/wdlaunchremotegame.md)
- [API XBOX PC Remote Iteration](https://docs.xbox.com/es/reference/remoting/remoteiteration_members.md)
- [WdCopyOptions](https://docs.xbox.com/es/reference/remoting/structs/wdcopyoptions.md)
- [WdDeleteOptions](https://docs.xbox.com/es/reference/remoting/structs/wddeleteoptions.md)
