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

# XStoreQueryConsumableBalanceRemainingResult

> XStoreQueryConsumableBalanceRemainingResult

# XStoreQueryConsumableBalanceRemainingResult

[XStoreQueryConsumableBalanceRemainingAsync](/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync) の呼び出し結果を取得します。

## 構文

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

### パラメーター

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

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

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

成功時に、[XStoreQueryConsumableBalanceRemainingAsync](/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync) の呼び出し結果が格納されます。

### 戻り値

Type: HRESULT

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

## 解説

この結果関数を使用すると、[XStoreQueryConsumableBalanceRemainingAsync](/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync) の実行結果と、実行が成功した場合に呼び出された残りの消費型製品の残高を取得できます。したがって、この関数は [XStoreQueryConsumableBalanceRemainingAsync](/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync) の呼び出し後、通常はコールバック関数のコンテキストで呼び出す必要があります。

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

## 要件

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

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

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

## 関連項目

[XStore](/reference/system/xstore/xstore_members)\
[XStoreQueryConsumableBalanceRemainingAsync](/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync)


## Related topics

- [XStoreQueryConsumableBalanceRemainingAsync](/ja-jp/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync.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)
- [基本的な Store 操作](/ja-jp/publishing/xstore-commerce/xstore-basic-operations.md)
