Skip to main content

XStoreQueryProductForCurrentGameResult

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

構文

パラメーター

async   _Inout_
Type: XAsyncBlock*
XStoreQueryProductForCurrentGameAsync に渡された XAsyncBlock。XAsyncBlock は、呼び出しの状態のポーリングと呼び出し結果の取得に使用できます。詳細については、XAsyncBlock を参照してください。 productQueryHandle   _Out_
Type: XStoreProductQueryHandle*
戻り時に、クエリを表す XStoreProductQueryHandle が格納されます。返された XStoreProductQueryHandle を XStoreEnumerateProductsQuery に渡すと、クエリが返した製品を列挙できます。

戻り値

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

解説

この結果関数を使用すると、XStoreQueryProductForCurrentGameAsync の実行結果と、実行が成功した場合に呼び出されたストア製品情報を取得できます。したがって、この関数は XStoreQueryProductForCurrentGameAsync の呼び出し後、通常はコールバック関数のコンテキストで呼び出す必要があります。 使用例については、XStoreQueryProductForCurrentGameAsync を参照してください。

要件

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

関連項目

XStore XStoreQueryAssociatedProductsAsync
XStoreQueryEntitledProductsAsync
XStoreQueryProductsAsync
XStoreQueryProductForCurrentGameAsync
XStoreQueryProductForPackageAsync
最終更新日 2026年8月24日