Skip to main content

XStoreQueryAssociatedProductsResult

XStoreQueryAssociatedProductsAsync の呼び出し結果を取得します。

構文

パラメーター

async   _Inout_
Type: XAsyncBlock*
XStoreQueryAssociatedProductsAsync に渡す XAsyncBlockXAsyncBlock を使用して、呼び出しの状態を確認し、結果を取得します。 詳細については、XAsyncBlock を参照してください。 productQueryHandle   _Out_
Type: XStoreProductQueryHandle*
戻り時に、クエリを表す XStoreProductQueryHandle が格納されます。 クエリが返した製品を一覧表示するには、返された XStoreProductQueryHandle を XStoreEnumerateProductsQuery に渡します。

戻り値

Type: HRESULT 成功した場合は S_OK。それ以外の場合はエラー コードが返されます。

解説

この結果関数は、XStoreQueryAssociatedProductsAsync の実行結果を取得します。実行が成功した場合、関連製品のリストを返します。 この関数は XStoreQueryAssociatedProductsAsync の後、通常はコールバック関数のコンテキストで呼び出します。 使用例については、XStoreQueryAssociatedProductsAsync を参照してください。

要件

ヘッダー: XStore.h (XGameRuntime.h に含まれる) ライブラリ: xgameruntime.lib サポートされているプラットフォーム: Windows、XBOX One 本体、および XBOX Series 本体

関連概念ドキュメント

関連項目

XStore XStoreQueryAssociatedProductsAsync
XStoreQueryEntitledProductsAsync
XStoreQueryProductsAsync
XStoreQueryProductForCurrentGameAsync
XStoreQueryProductForPackageAsync
ストアの基本操作
プレイヤーにアドオン コンテンツへのアクセス権を付与する
最終更新日 2026年8月24日