IXtfApplicationClient::Constrain Method

Places the app with the specified package monitor into constrained mode.

Syntax

public:
HRESULT Constrain(
         LPCWSTR pszPackageMoniker
)  

Parameters

pszPackageMoniker
Type: LPCWSTR 

Pointer to the package moniker of the app to put into constrained mode.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in xtfapplication.h.

Library: Use xtfapplication.lib.

See also

Overview

Application Model: Overview

Reference

IXtfApplicationClient Interface

IXtfApplicationClient Members

XtfApplication