Skip to main content

XtfRegisterAllPackagesOnDrive

Register all packages deployed on the specified drive.

Syntax

Parameters

address
Type: LPCWSTR
[in] The address of the console. drive
Type: DWORD
[in] The drive to register the packages on. This parameter accepts the following values: pbstrPackageList
Type: LPBSTR
[out] Information about the packages and apps that were registered.

Return value

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

Remarks

This function registers all packages deployed on the specified drive, such as an external drive, and provides a stringified JSON object in pbstrPackageList. The JSON object is an array that provides the package full name and the apps, including the Application User Model IDs (AUMIDs), for each registered package. For more information about managing applications, see Application Management (xbapp.exe) (NDA topic).

Requirements

Header: xtfapi.h Library: XtfApi.lib Supported platforms: Windows (for XBOX console tools)

See also

Run from PC Deployment (NDA topic)
XTF Transport Errors (NDA topic)
Additional Xtf APIs
Last modified on August 20, 2026