> ## 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

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

## Syntax

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

### Parameters

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

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

*consumableResult*   \_Out\_\
型: [XStoreConsumableResult\*](/reference/system/xstore/structs/xstoreconsumableresult)

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

### Return value

型: HRESULT

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

## Remarks

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

使用例については、[XStoreReportConsumableFulfillmentAsync](/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync) を参照してください。

## Requirements

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

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

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

## See also

[XStore](/reference/system/xstore/xstore_members)\
[XStoreReportConsumableFulfillmentAsync](/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync)


## Related topics

- [XStoreReportConsumableFulfillmentAsync](/ja-jp/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md)
- [XStoreConsumableResult](/ja-jp/reference/system/xstore/structs/xstoreconsumableresult.md)
- [XStore](/ja-jp/reference/system/xstore/xstore_members.md)
- [GDK 向け Unity C# API ラッパー](/ja-jp/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [消費型ベースのエコシステム](/ja-jp/publishing/xstore-commerce/xstore-consumables.md)
