IXtfApplicationClient::MarkAppAsProvisioned method

Marks an app as provisioned.

Syntax

public:
HRESULT MarkAppAsProvisioned(
         LPCWSTR pszPackageMoniker
)  

Parameters

pszPackageMoniker
Type: LPCWSTR

The package identifier of the package that contains the app to be marked as provisioned. For more information about package identifiers, see Manage and license downloadable content (DLC).

Return value

Type: HRESULT

HRESULT success or error code.

Remarks

MarkAppAsProvisioned is used by the xbprovision.exe (NDA topic)Authorization required tool to mark apps so that they are later handled properly by the xbcleanup.exe (NDA topic)Authorization required tool. To maximize future compatibility, your tools should use the deployment and provisioning tools provided with the GDK, rather than call this API directly.

Need code sample

Requirements

Header: xtfapplication.h

Library: xtfapplication.lib

Supported platforms: Windows (for Xbox console tools)

See also

Reference

IXtfApplicationClient Interface

XtfApplication