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

# XStoreProductQueryCallback

> XStoreProductQueryCallback

# XStoreProductQueryCallback

製品クエリ用のゲーム定義のコールバック。

## 構文

```cpp theme={null}
bool XStoreProductQueryCallback(  
         const XStoreProduct* product,  
         void* context  
)  
```

### パラメーター

*product*   \_In\_\
Type: [XStoreProduct\*](/reference/system/xstore/structs/xstoreproduct)

製品の説明。

*context*   \_In\_opt\_\
Type: void\*

コールバックに渡されるゲーム定義のコンテキスト。

### 戻り値

Type: bool

クエリ結果の列挙を続行する場合は true を返します。それ以外の場合は false を返します。

## 解説

このゲーム定義関数は、列挙されたストア製品セットのうちの 1 つから情報を読み取るために使用されます。関数は、ここで提供されている定義と同じ戻り値の型およびパラメーターを持つ必要があり、[XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery) 関数のコールバックとして使用されます。使用例については、[XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync) を参照してください。

## 要件

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

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

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

## 関連項目

[XStore](/reference/system/xstore/xstore_members)\
[XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery)\
[XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync)


## Related topics

- [XStoreEnumerateProductsQuery](/ja-jp/reference/system/xstore/functions/xstoreenumerateproductsquery.md)
- [XStore](/ja-jp/reference/system/xstore/xstore_members.md)
- [XStoreQueryProductsAsync](/ja-jp/reference/system/xstore/functions/xstorequeryproductsasync.md)
- [XStoreQueryProductsResult](/ja-jp/reference/system/xstore/functions/xstorequeryproductsresult.md)
- [XStoreQueryProductForPackageAsync](/ja-jp/reference/system/xstore/functions/xstorequeryproductforpackageasync.md)
