XStoreReportConsumableFulfillmentResult

Gets the results of a call to XStoreReportConsumableFulfillmentAsync. For more information see Consumable-based ecosystems for more information on implementing and using consumable products.

Syntax

HRESULT XStoreReportConsumableFulfillmentResult(  
         XAsyncBlock* async,  
         XStoreConsumableResult* consumableResult  
)  

Parameters

async   _Inout_
Type: XAsyncBlock*

The XAsyncBlock passed to XStoreReportConsumableFulfillmentAsync. The XAsyncBlock can be used to poll for the call's status and retrieve call results. See XAsyncBlock for more information.

consumableResult   _Out_
Type: XStoreConsumableResult*

On success contains a structure indicating the current quantity of the consumable.

Return value

Type: HRESULT

HRESULT success or error code.

Remarks

This result function allows you to retrieve the execution results of XStoreReportConsumableFulfillmentAsync. As such, this function should be called after XStoreReportConsumableFulfillmentAsync has been called, usually in the context of a callback function.

See XStoreReportConsumableFulfillmentAsync for a usage example.

Requirements

Header: XStore.h (included in XGameRuntime.h)

Library: xgameruntime.lib

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XStore
XStoreReportConsumableFulfillmentAsync