Compartir a través de


IXtfApplicationClient::Unconstrain

Returns the constrained app with the specified package moniker to the regular running state.

Syntax

public:
HRESULT Unconstrain(
         LPCWSTR pszPackageMoniker
)  

Parameters

pszPackageMoniker
Type: LPCWSTR

A pointer to the package moniker of the constrained app to return to the regular running state.

Return value

Type: HRESULT

Returns S_OK if successful; otherwise, returns an HRESULT error code.

Remarks

This method returns the constrained app with the specified package moniker to the regular running state, with full access to resources. This method is similar to the xbapp unconstrain command from the Application Management (xbapp.exe) tool, included as part of the Xbox Tools Framework (XTF). For more information about the xbapp unconstrain 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

Constrain
IXtfApplicationClient
XtfApplication