Places the app with the specified package monitor into constrained mode.
public:
HRESULT Constrain(
LPCWSTR pszPackageMoniker
)
pszPackageMoniker
Type: LPCWSTRÂ
Pointer to the package moniker of the app to put into constrained mode.
Type: HRESULTÂ
HRESULT success or error code.
Header: Declared in xtfapplication.h.
Library: Use xtfapplication.lib.