Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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)Autorisation obligatoire.
For more information about game life cycle states, see Xbox Game Life Cycle (NDA topic)Autorisation obligatoire.
Requirements
Header: xtfapplication.h
Library: xtfapplication.lib
Supported platforms: Windows (for Xbox console tools)