Skip to main content

XPackageInstalledCallback

A user-defined callback used by the XPackageRegisterPackageInstalled function.

Syntax

Parameters

context   _In_
Type: void*
The context passed to the XPackageRegisterPackageInstalled function. details   _In_
Type: XPackageDetails*
Contains details about the package installation.

Return value

Type: void Returns a pointer to the package installation details.

Remarks

The XPackageInstalledCallback function is used to determine when a new package is completely installed. The following code example prints a message when a new downloadable content (DLC) package is installed.
For information about the packaging technology used with XBOX One titles, see Overview of Packaging. For information about the steps to create an XVC package, see Getting started packaging titles for XBOX consoles.

Requirements

Header: XPackage.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

How to create and use Downloadable Content Packages (DLC) for PC and XBOX One
XPackage
Last modified on August 20, 2026