XPackageRegisterInstallationProgressChanged
Registers a callback to be called when the installation progress changes.Syntax
Parameters
installationMonitor _In_Type: XPackageInstallationMonitorHandle A handle to the installation monitor with which the callback is to be registered. context _In_opt_
Type: void* Context to be passed to the callback. callback _In_
Type: XPackageInstallationProgressCallback* User-defined callback to be called when the installation progress changes. token _Out_
Type: XTaskQueueRegistrationToken* A token that identifies the callback that can be used to unregister the callback later, by using XPackageUnregisterInstallationProgressChanged.
Return value
Type: HRESULT HRESULT success or error code.Remarks
A game has implemented a launch marker, so it can be run before it’s installed completely. The game will need to know which parts are installed and which are not. In this example, the game needs to know when the chunks associated with a racetrack with the specified track name are installed:Requirements
Header: XPackage.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
XPackageStreaming Installation and Intelligent Delivery
XPackageGetInstallationProgress
XPackageCreateInstallationMonitor
