IXtfApplicationClient::Suspend
Suspends execution of the app with the specified package moniker.Syntax
Parameters
pszPackageMonikerType: 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 ReturnsS_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 thexbapp 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).
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).
Requirements
Header: xtfapplication.h Library: xtfapplication.lib Supported platforms: Windows (for XBOX console tools)See also
IXtfApplicationClientXtfApplication
