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

# XStoreReportConsumableFulfillmentResult

> XStoreReportConsumableFulfillmentResult

# XStoreReportConsumableFulfillmentResult

[XStoreReportConsumableFulfillmentAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md) の呼び出し結果を取得します。消耗型製品の実装と使用の詳細については、[消費型ベースのエコシステム](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-consumables.md) を参照してください。

## Syntax

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

### Parameters

*async*   \_Inout\_\
型: [XAsyncBlock\*](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md)

[XStoreReportConsumableFulfillmentAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md) に渡された XAsyncBlock。[XAsyncBlock](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md) を使用して呼び出しの状態をポーリングしたり、呼び出し結果を取得したりできます。詳細については、[XAsyncBlock](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md) を参照してください。

*consumableResult*   \_Out\_\
型: [XStoreConsumableResult\*](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreconsumableresult.md)

成功時には消耗型製品の現在の数量を示す構造体が格納されます。

### Return value

型: HRESULT

HRESULT の成功またはエラー コード。

## Remarks

この結果関数を使用して [XStoreReportConsumableFulfillmentAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md) の実行結果を取得できます。そのため、この関数は [XStoreReportConsumableFulfillmentAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md) の呼び出し後、通常はコールバック関数のコンテキストで呼び出す必要があります。

使用例については、[XStoreReportConsumableFulfillmentAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md) を参照してください。

## Requirements

**ヘッダー:** XStore.h (XGameRuntime.h に含まれる)

**ライブラリ:** xgameruntime.lib

**サポートされているプラットフォーム:** Windows、XBOX One ファミリー本体および XBOX Series 本体

## See also

[XStore](https://docs.xbox.com/ja-jp/reference/system/xstore/xstore_members.md)\
[XStoreReportConsumableFulfillmentAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md)


## Related topics

- [XStoreReportConsumableFulfillmentAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md)
- [XStoreConsumableResult](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreconsumableresult.md)
- [XStore (API の内容)](https://docs.xbox.com/ja-jp/reference/system/xstore/xstore_members.md)
- [Unity プロジェクトでの GDK API 用 C# ラッパーの使用](https://docs.xbox.com/ja-jp/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [消費型ベースのエコシステム](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-consumables.md)
