Skip to main content

XPackageInstallChunksResult

擷取 XPackageInstallChunksAsync 呼叫的結果。

語法

參數

asyncBlock   _Inout_
類型:XAsyncBlock*
傳遞給 XPackageInstallChunksAsync 的 XAsyncBlock。 installationMonitor   _Out_
類型:XPackageInstallationMonitorHandle*
傳回時,包含該安裝作業的安裝監視器。

傳回值

類型:HRESULT HRESULT 成功或錯誤碼。

備註

XPackageInstallChunks 有非同步變體。安裝區塊時,可能會提示使用者接受下載大小。 此範例示範如何使用非同步 API 安裝 BigMaps:

需求

標頭: XPackage.h 程式庫: xgameruntime.lib 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機

概念文件

另請參閱

XPackage
串流安裝和 Intelligent Delivery
XPackageInstallChunks
Last modified on October 6, 2026