Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Suspends execution of the app with the specified package moniker.
Syntax
public:
HRESULT Suspend(
LPCWSTR pszPackageMoniker,
BOOL fAsDebugger
)
Parameters
pszPackageMoniker
Type: LPCWSTR
A pointer to the package moniker of the app to suspend.
fAsDebugger
Type: BOOL
Specify TRUE to suspend the app with debugging enabled; otherwise, FALSE to disable debugging. For more information about the effects of enabling or disabling debugging, see DebugEnable.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns an HRESULT error code.
Remarks
This method suspends execution of the app with the specified package moniker. This method is similar to the xbapp suspend command from the Application Management (xbapp.exe) tool, included as part of the Xbox Tools Framework (XTF). For more information about the xbapp suspend command, see Application Management (xbapp.exe) (NDA topic)Autorizzazione obbligatoria.
You can resume execution of the app by either invoking the IXtfApplicationClient::Resume method or calling the xbapp resume command from the Application Management tool. For more information about game life cycle states, see Xbox Game Life Cycle (NDA topic)Autorizzazione obbligatoria.
Requirements
Header: xtfapplication.h
Library: xtfapplication.lib
Supported platforms: Windows (for Xbox console tools)