> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XStoreReportConsumableFulfillmentResult

> XStoreReportConsumableFulfillmentResult

# XStoreReportConsumableFulfillmentResult

Gets the results of a call to [XStoreReportConsumableFulfillmentAsync](/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync).  For more information see [Consumable-based ecosystems](/publishing/xstore-commerce/xstore-consumables) for more information on implementing and using consumable products.

## Syntax

```cpp theme={null}
HRESULT XStoreReportConsumableFulfillmentResult(  
         XAsyncBlock* async,  
         XStoreConsumableResult* consumableResult  
)  
```

### Parameters

*async*   \_Inout\_\
Type: [XAsyncBlock\*](/reference/system/xasync/structs/xasyncblock)

The XAsyncBlock passed to [XStoreReportConsumableFulfillmentAsync](/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync). The [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) can be used to poll for the call's status and retrieve call results. See [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) for more information.

*consumableResult*   \_Out\_\
Type: [XStoreConsumableResult\*](/reference/system/xstore/structs/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](/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync). As such, this function should be called after [XStoreReportConsumableFulfillmentAsync](/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync) has been called, usually in the context of a callback function.

See [XStoreReportConsumableFulfillmentAsync](/reference/system/xstore/functions/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](/reference/system/xstore/xstore_members)\
[XStoreReportConsumableFulfillmentAsync](/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync)


## Related topics

- [XStoreReportConsumableFulfillmentAsync](/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md)
- [XStoreConsumableResult](/reference/system/xstore/structs/xstoreconsumableresult.md)
- [XStore](/reference/system/xstore/xstore_members.md)
- [Unity C# API wrappers for the GDK](/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [Consumable-based ecosystems](/publishing/xstore-commerce/xstore-consumables.md)
