XStoreReportConsumableFulfillmentResult
获取对 XStoreReportConsumableFulfillmentAsync 调用的结果。有关实现和使用消耗品产品的详细信息,请参阅基于消耗品的生态系统。语法
参数
async _Inout_类型:XAsyncBlock* 传递给 XStoreReportConsumableFulfillmentAsync 的 XAsyncBlock。XAsyncBlock 可用于轮询调用的状态并检索调用结果。有关详细信息,请参阅 XAsyncBlock。 consumableResult _Out_
类型:XStoreConsumableResult* 成功时,包含指示消耗品当前数量的结构。
返回值
类型:HRESULT HRESULT 成功或错误代码。备注
此结果函数允许你检索 XStoreReportConsumableFulfillmentAsync 的执行结果。因此,应在调用 XStoreReportConsumableFulfillmentAsync 之后调用此函数,通常是在回调函数的上下文中。 有关使用示例,请参阅 XStoreReportConsumableFulfillmentAsync。要求
头文件: XStore.h(包含在 XGameRuntime.h 中) 库: xgameruntime.lib 支持的平台: Windows、XBOX One 系列主机和 XBOX Series 主机另请参阅
XStoreXStoreReportConsumableFulfillmentAsync
