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

# Launch

> IXtfApplicationClient::Launch

Launches the app with the specified AUMID and command-line arguments.

## Syntax

```cpp theme={null}
public:
HRESULT Launch(
         LPCWSTR pszAumid
)  
```

### Parameters

*pszAumid*\
Type: LPCWSTR

A pointer to a string that contains the AUMID of the app that is to launch and any command-line arguments, delimited by spaces; for example, "myAumid arg1 arg2 arg3".

### Return value

Type: HRESULT

Returns `S_OK` if successful; otherwise, returns an HRESULT error code.

## Remarks

This method launches the app with the AUMID specified in `pszAumid`. This method is similar to the `xbapp launch` command from the Application Management (xbapp.exe) tool,  included as part of the XBOX Tools Framework (XTF). For more information about the `xbapp launch` command, see [Application Management (xbapp.exe) (NDA topic)](https://docs.xbox.com/tools/tools-console/commandlinetools/xbapp.md).

For more information about game life cycle states, see [XBOX Game Life Cycle (NDA topic)](https://docs.xbox.com/build/console-features/console-workflows/xbox-game-life-cycle.md).

## Requirements

**Header:** xtfapplication.h

**Library:** xtfapplication.lib

**Supported platforms:** Windows (for XBOX console tools)

## See also

[IXtfApplicationClient Interface](https://docs.xbox.com/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/ixtfapplicationclient-xtfapplication-xbox-microsoft-t.md)\
[XtfApplication](https://docs.xbox.com/reference/tools/xtf/xtfapplication/xtfapplication-xbox-microsoft-n.md)


## Related topics

- [Title launches](https://docs.xbox.com/services/playfab/pricing/title-launches.md)
- [XLaunchUri](https://docs.xbox.com/reference/system/xlauncher/functions/xlaunchuri.md)
- [WdLaunchOptions](https://docs.xbox.com/reference/remoting/structs/wdlaunchoptions.md)
- [XLaunchRestartOnCrash](https://docs.xbox.com/reference/system/xgame/functions/xlaunchrestartoncrash.md)
- [XLaunchNewGame](https://docs.xbox.com/reference/system/xgame/functions/xlaunchnewgame.md)
