Compartir a través de


IXtfApplicationClient::Launch

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

Syntax

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)Requiere autorización.

For more information about game life cycle states, see Xbox Game Life Cycle (NDA topic)Requiere autorización.

Requirements

Header: xtfapplication.h

Library: xtfapplication.lib

Supported platforms: Windows (for Xbox console tools)

See also

IXtfApplicationClient Interface
XtfApplication