IXtfApplicationClient::Terminate
Terminates the app with the specified package moniker.Syntax
Parameters
pszPackageMonikerType: LPCWSTR A pointer to the package moniker of the app to terminate.
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an HRESULT error code.
Remarks
This method terminates the app with the specified package moniker. This method is similar to thexbapp terminate command from the Application Management (xbapp.exe) tool, included as part of the XBOX Tools Framework (XTF). For more information about the xbapp terminate command, see Application Management (xbapp.exe) (NDA topic).
To simulate the termination sequence performed by a development console, suspend the app for at least one second before terminating it. Immediate termination is a non-standard process that should not be used in test scenarios. For more information about game life cycle states, see XBOX Game Life Cycle (NDA topic).
Requirements
Header: xtfapplication.h Library: xtfapplication.lib Supported platforms: Windows (for XBOX console tools)See also
IXtfApplicationClientXtfApplication
