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

# 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](/reference/remoting/enums/wdlaunchmode)**

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](/reference/remoting/functions/wdlaunchremotegame) 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](/reference/remoting/functions/wdlaunchremotegame)
* [WdLaunchMode](/reference/remoting/enums/wdlaunchmode)
* [API XBOX PC Remote Iteration](/reference/remoting/remoteiteration_members)


## Related topics

- [WdLaunchMode](/es/reference/remoting/enums/wdlaunchmode.md)
- [WdLaunchRemoteGame](/es/reference/remoting/functions/wdlaunchremotegame.md)
- [API XBOX PC Remote Iteration](/es/reference/remoting/remoteiteration_members.md)
- [WdCopyOptions](/es/reference/remoting/structs/wdcopyoptions.md)
- [WdCopySearchOptions](/es/reference/remoting/structs/wdcopysearchoptions.md)
