Skip to main content

IXtfApplicationClient::MarkAppAsProvisioned method

Marks an app as provisioned.

Syntax

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) tool to mark apps so that they are later handled properly by the xbcleanup.exe (NDA topic) 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
Last modified on August 20, 2026