XStoreQueryGameAndDlcPackageUpdatesResult

获取调用 XStoreQueryGameAndDlcPackageUpdatesAsync 的结果。

语法

HRESULT XStoreQueryGameAndDlcPackageUpdatesResult(  
         XAsyncBlock* async,  
         uint32_t count,  
         XStorePackageUpdate* packageUpdates  
)  

参数

async _Inout_
类型:XAsyncBlock*

传递给 XStoreQueryGameAndDlcPackageUpdatesAsync 的 XAsyncBlock。 XAsyncBlock 可用于轮询调用的状态和检索调用结果。 有关详细信息,请参阅 XAsyncBlock

count _In_
类型:uint32_t

传入 packageUpdates 的数组中的元素数。

packageUpdates\_Out\_writes\_(count)
类型:XStorePackageUpdate*

成功时包含检索的包更新。

返回值

类型:HRESULT

HRESULT 成功或错误代码。

备注

此结果函数使您可以检索 XStoreQueryGameAndDlcPackageUpdatesAsync 的执行结果,以及执行成功时为其执行调用的可用更新的列表。 因此,应在调用 XStoreQueryGameAndDlcPackageUpdatesAsync 之后调用此函数,并且通常是在回调函数的上下文中。

有关使用示例,请参阅 XStoreQueryGameAndDlcPackageUpdatesAsync

要求

头文件:XStore.h(包含在 XGameRuntime.h 中)

库:xgameruntime.lib

支持平台:Windows、Xbox One 系列主机和 Xbox Series 主机

另请参阅

XStore
XStoreQueryGameAndDlcPackageUpdatesAsync
XStoreQueryGameAndDlcPackageUpdatesResultCount