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

# XStore

> XStore

# XStore

XStore API のリファレンス資料。

購入可能なコンテンツの詳細、ダウンロード可能なコンテンツ パッケージの管理、ライセンス管理、ゲームの試用版など、コマース関連の機能をゲームに提供します。

## Functions

| 関数                                                                                                                                  | 説明                                                                                                                                             |
| ----------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| [XStoreAcquireLicenseForDurablesAsync](/reference/system/xstore/functions/xstoreacquirelicensefordurablesasync)                     | 指定した永続製品のライセンスを取得します。                                                                                                                          |
| [XStoreAcquireLicenseForDurablesResult](/reference/system/xstore/functions/xstoreacquirelicensefordurablesresult)                   | [XStoreAcquireLicenseForDurablesAsync](/reference/system/xstore/functions/xstoreacquirelicensefordurablesasync) の呼び出し結果を取得します。                 |
| [XStoreAcquireLicenseForPackageAsync](/reference/system/xstore/functions/xstoreacquirelicenseforpackageasync)                       | ユーザーが使用する権利を持つゲームの DLC のライセンスを取得します。                                                                                                           |
| [XStoreAcquireLicenseForPackageResult](/reference/system/xstore/functions/xstoreacquirelicenseforpackageresult)                     | [XStoreAcquireLicenseForPackageAsync](/reference/system/xstore/functions/xstoreacquirelicenseforpackageasync) の呼び出し結果を取得します。                   |
| [XStoreCanAcquireLicenseForPackageAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync)                 | DLC のプレビュー ライセンスを取得します。                                                                                                                        |
| [XStoreCanAcquireLicenseForPackageResult](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult)               | [XStoreCanAcquireLicenseForPackageAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync) の呼び出し結果を取得します。             |
| [XStoreCanAcquireLicenseForStoreIdAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync)                 | コンテンツのプレビュー ライセンスを取得します。                                                                                                                       |
| [XStoreCanAcquireLicenseForStoreIdResult](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult)               | [XStoreCanAcquireLicenseForStoreIdAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync) の呼び出し結果を取得します。             |
| [XStoreCloseContextHandle](/reference/system/xstore/functions/xstoreclosecontexthandle)                                             | 指定したストア コンテキスト ハンドルを閉じます。                                                                                                                      |
| [XStoreCloseLicenseHandle](/reference/system/xstore/functions/xstorecloselicensehandle)                                             | 指定したストア ライセンス ハンドルを閉じます。                                                                                                                       |
| [XStoreCloseProductsQueryHandle](/reference/system/xstore/functions/xstorecloseproductsqueryhandle)                                 | 指定したストア製品クエリ ハンドルを閉じます。                                                                                                                        |
| [XStoreCreateContext](/reference/system/xstore/functions/xstorecreatecontext)                                                       | 指定したユーザーのストア コンテキストを作成します。                                                                                                                     |
| [XStoreDownloadAndInstallPackagesAsync](/reference/system/xstore/functions/xstoredownloadandinstallpackagesasync)                   | 指定したストア パッケージをダウンロードしてインストールします。                                                                                                               |
| [XStoreDownloadAndInstallPackagesResult](/reference/system/xstore/functions/xstoredownloadandinstallpackagesresult)                 | [XStoreDownloadAndInstallPackagesAsync](/reference/system/xstore/functions/xstoredownloadandinstallpackagesasync) の呼び出し結果を取得します。               |
| [XStoreDownloadAndInstallPackagesResultCount](/reference/system/xstore/functions/xstoredownloadandinstallpackagesresultcount)       | [XStoreDownloadAndInstallPackagesResult](/reference/system/xstore/functions/xstoredownloadandinstallpackagesresult) によって返される結果内の項目数を取得します。     |
| [XStoreDownloadAndInstallPackageUpdatesAsync](/reference/system/xstore/functions/xstoredownloadandinstallpackageupdatesasync)       | 指定したストア パッケージの更新をダウンロードしてインストールします。                                                                                                            |
| [XStoreDownloadAndInstallPackageUpdatesResult](/reference/system/xstore/functions/xstoredownloadandinstallpackageupdatesresult)     | [XStoreDownloadAndInstallPackageUpdatesAsync](/reference/system/xstore/functions/xstoredownloadandinstallpackageupdatesasync) の呼び出し結果を取得します。   |
| [XStoreDownloadPackageUpdatesAsync](/reference/system/xstore/functions/xstoredownloadpackageupdatesasync)                           | 指定したパッケージの更新をダウンロードします。                                                                                                                        |
| [XStoreDownloadPackageUpdatesResult](/reference/system/xstore/functions/xstoredownloadpackageupdatesresult)                         | [XStoreDownloadPackageUpdatesAsync](/reference/system/xstore/functions/xstoredownloadpackageupdatesasync) の呼び出し結果を取得します。                       |
| [XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery)                                     | 製品クエリの結果を列挙します。                                                                                                                                |
| [XStoreGameLicenseChangedCallback](/reference/system/xstore/functions/xstoregamelicensechangedcallback)                             | ゲーム ライセンス変更イベントのゲーム定義コールバック。                                                                                                                   |
| [XStoreGetUserCollectionsIdAsync](/reference/system/xstore/functions/xstoregetusercollectionsidasync)                               | 顧客コレクション ID を取得します。                                                                                                                            |
| [XStoreGetUserCollectionsIdResult](/reference/system/xstore/functions/xstoregetusercollectionsidresult)                             | [XStoreGetUserCollectionsIdAsync](/reference/system/xstore/functions/xstoregetusercollectionsidasync) の呼び出し結果を取得します。                           |
| [XStoreGetUserCollectionsIdResultSize](/reference/system/xstore/functions/xstoregetusercollectionsidresultsize)                     | [XStoreGetUserCollectionsIdResult](/reference/system/xstore/functions/xstoregetusercollectionsidresult) によって返される ID のサイズを取得します。                |
| [XStoreGetUserPurchaseIdAsync](/reference/system/xstore/functions/xstoregetuserpurchaseidasync)                                     | 顧客購入 ID を取得します。                                                                                                                                |
| [XStoreGetUserPurchaseIdResult](/reference/system/xstore/functions/xstoregetuserpurchaseidresult)                                   | [XStoreGetUserPurchaseIdAsync](/reference/system/xstore/functions/xstoregetuserpurchaseidasync) の呼び出し結果を取得します。                                 |
| [XStoreGetUserPurchaseIdResultSize](/reference/system/xstore/functions/xstoregetuserpurchaseidresultsize)                           | [XStoreGetUserPurchaseIdResult](/reference/system/xstore/functions/xstoregetuserpurchaseidresult) によって返される結果のサイズを取得します。                        |
| [XStoreIsLicenseValid](/reference/system/xstore/functions/xstoreislicensevalid)                                                     | 指定したライセンスが有効かどうかを確認します。                                                                                                                        |
| [XStorePackageLicenseLostCallback](/reference/system/xstore/functions/xstorepackagelicenselostcallback)                             | ライセンス消失イベントのゲーム定義コールバック。                                                                                                                       |
| [XStoreProductQueryCallback](/reference/system/xstore/functions/xstoreproductquerycallback)                                         | 製品クエリのゲーム定義コールバック。                                                                                                                             |
| [XStoreProductsQueryHasMorePages](/reference/system/xstore/functions/xstoreproductsqueryhasmorepages)                               | 指定したクエリにさらに結果ページがあるかどうかを確認します。                                                                                                                 |
| [XStoreProductsQueryNextPageAsync](/reference/system/xstore/functions/xstoreproductsquerynextpageasync)                             | クエリ結果の次のページを取得します。                                                                                                                             |
| [XStoreProductsQueryNextPageResult](/reference/system/xstore/functions/xstoreproductsquerynextpageresult)                           | 製品クエリから結果の次のページを取得します。                                                                                                                         |
| [XStoreQueryAddOnLicensesAsync](/reference/system/xstore/functions/xstorequeryaddonlicensesasync)                                   | 現在実行中のゲームのビットを持たない永続製品に対してユーザーに付与されたライセンスを列挙します。                                                                                               |
| [XStoreQueryAddOnLicensesResult](/reference/system/xstore/functions/xstorequeryaddonlicensesresult)                                 | XStoreQueryAddOnLicensesAsync の呼び出し結果を取得します。                                                                                                   |
| [XStoreQueryAddOnLicensesResultCount](/reference/system/xstore/functions/xstorequeryaddonlicensesresultcount)                       | [XStoreQueryAddonLicensesAsync](/reference/system/xstore/functions/xstorequeryaddonlicensesasync) によって取得されたライセンス数を取得します。                       |
| [XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync)                         | 現在のゲーム内から購入可能な製品のストア出品情報を取得します。                                                                                                                |
| [XStoreQueryAssociatedProductsForStoreIdAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync)     | ストア ID で指定された製品から購入可能な製品のストア出品情報を取得します。                                                                                                        |
| [XStoreQueryAssociatedProductsForStoreIdResult](/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidresult)   | [XStoreQueryAssociatedProductsForStoreIdAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync) の呼び出し結果を取得します。 |
| [XStoreQueryAssociatedProductsResult](/reference/system/xstore/functions/xstorequeryassociatedproductsresult)                       | [XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync) の呼び出し結果を取得します。                     |
| [XStoreQueryConsumableBalanceRemainingAsync](/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync)         | 指定した製品 ID の消耗型残高を取得します。                                                                                                                        |
| [XStoreQueryConsumableBalanceRemainingResult](/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingresult)       | [XStoreQueryConsumableBalanceRemainingAsync](/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync) の呼び出し結果を取得します。     |
| [XStoreQueryEntitledProductsAsync](/reference/system/xstore/functions/xstorequeryentitledproductsasync)                             | ユーザーが購入した現在のゲームのすべてのアドオンに関するストア製品情報を提供します。                                                                                                     |
| [XStoreQueryEntitledProductsResult](/reference/system/xstore/functions/xstorequeryentitledproductsresult)                           | [XStoreQueryEntitledProductsAsync](/reference/system/xstore/functions/xstorequeryentitledproductsasync) の呼び出し結果を取得します。                         |
| [XStoreQueryGameAndDlcPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync)             | 現在のパッケージのゲームおよびオプションの更新を取得します。                                                                                                                 |
| [XStoreQueryGameAndDlcPackageUpdatesResult](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult)           | [XStoreQueryGameAndDlcPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync) の呼び出し結果を取得します。         |
| [XStoreQueryGameAndDlcPackageUpdatesResultCount](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresultcount) | [XStoreQueryGameAndDlcPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync) によって取得された更新の数を取得します。   |
| [XStoreQueryGameLicenseAsync](/reference/system/xstore/functions/xstorequerygamelicenseasync)                                       | ゲームを起動するために取得したライセンスに関する情報を取得します。                                                                                                              |
| [XStoreQueryGameLicenseResult](/reference/system/xstore/functions/xstorequerygamelicenseresult)                                     | [XStoreQueryGameLicenseAsync](/reference/system/xstore/functions/xstorequerygamelicenseasync) の呼び出し結果を取得します。                                   |
| [XStoreQueryLicenseTokenAsync](/reference/system/xstore/functions/xstorequerylicensetokenasync)                                     | 呼び出し元のゲームに、ゲームのサービスに渡して B2B 呼び出しを行うために使用できる不透明なトークンを提供します。                                                                                     |
| [XStoreQueryLicenseTokenResult](/reference/system/xstore/functions/xstorequerylicensetokenresult)                                   | [XStoreQueryLicenseTokenAsync](/reference/system/xstore/functions/xstorequerylicensetokenasync) の呼び出し結果を取得します。                                 |
| [XStoreQueryLicenseTokenResultSize](/reference/system/xstore/functions/xstorequerylicensetokenresultsize)                           | [XstoreQueryLicenseTokenResult](/reference/system/xstore/functions/xstorequerylicensetokenresult) によって返される結果のサイズを取得します。                        |
| [XStoreQueryPackageIdentifier](/reference/system/xstore/functions/xstorequerypackageidentifier)                                     | 指定したストア ID のパッケージ識別子を取得します。                                                                                                                    |
| [XStoreQueryPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerypackageupdatesasync)                                 | 指定したパッケージで利用可能な更新を取得します。                                                                                                                       |
| [XStoreQueryPackageUpdatesResult](/reference/system/xstore/functions/xstorequerypackageupdatesresult)                               | [XStoreQueryPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerypackageupdatesasync) の呼び出し結果を取得します。                             |
| [XStoreQueryPackageUpdatesResultCount](/reference/system/xstore/functions/xstorequerypackageupdatesresultcount)                     | [XStoreQueryPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerypackageupdatesasync) によって取得された更新の数を取得します。                       |
| [XStoreQueryProductForCurrentGameAsync](/reference/system/xstore/functions/xstorequeryproductforcurrentgameasync)                   | 現在実行中のゲームのストア製品情報、その SKU および可用性、その他のメタデータを提供します。                                                                                               |
| [XStoreQueryProductForCurrentGameResult](/reference/system/xstore/functions/xstorequeryproductforcurrentgameresult)                 | [XStoreQueryProductForCurrentGameAsync](/reference/system/xstore/functions/xstorequeryproductforcurrentgameasync) の呼び出し結果を取得します。               |
| [XStoreQueryProductForPackageAsync](/reference/system/xstore/functions/xstorequeryproductforpackageasync)                           | 指定したパッケージのストア製品情報を取得します。                                                                                                                       |
| [XStoreQueryProductForPackageResult](/reference/system/xstore/functions/xstorequeryproductforpackageresult)                         | [XStoreQueryProductForPackageAsync](/reference/system/xstore/functions/xstorequeryproductforpackageasync) の呼び出し結果を取得します。                       |
| [XStoreQueryProductsAsync](/reference/system/xstore/functions/xstorequeryproductsasync)                                             | 現在のゲームに関連付けられた指定製品のリスト情報を返します。これらの製品が現在のゲーム内で購入可能かどうかは問いません。                                                                                   |
| [XStoreQueryProductsResult](/reference/system/xstore/functions/xstorequeryproductsresult)                                           | [XStoreQueryProductsAsync](/reference/system/xstore/functions/xstorequeryproductsasync) の呼び出し結果を取得します。                                         |
| [XStoreRegisterGameLicenseChanged](/reference/system/xstore/functions/xstoreregistergamelicensechanged)                             | ゲーム ライセンス変更イベントのコールバックを登録します。                                                                                                                  |
| [XStoreRegisterPackageLicenseLost](/reference/system/xstore/functions/xstoreregisterpackagelicenselost)                             | ライセンス消失イベントのコールバックを登録します。                                                                                                                      |
| [XStoreReportConsumableFulfillmentAsync](/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync)                 | 指定した数量の消耗型製品を消費します。                                                                                                                            |
| [XStoreReportConsumableFulfillmentResult](/reference/system/xstore/functions/xstorereportconsumablefulfillmentresult)               | [XStoreReportConsumableFulfillmentAsync](/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync) の呼び出し結果を取得します。             |
| [XStoreShowAssociatedProductsUIAsync](/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync)                       | Microsoft Store アプリを開き、ゲームに関連付けられた利用可能なアドオンのセットを表示します。製品の種類でさらにフィルタリングできます。                                                                    |
| [XStoreShowAssociatedProductsUIResult](/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult)                     | [XStoreShowAssociatedProductsUIAsync](/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync) の呼び出し結果を取得します。                   |
| [XStoreShowGiftingUIAsync](/reference/system/xstore/functions/xstoreshowgiftinguiasync)                                             | ゲームが特定のストア製品を別のユーザーへのギフトとして購入することを要求できるようにします。                                                                                                 |
| [XStoreShowGiftingUIResult](/reference/system/xstore/functions/xstoreshowgiftinguiresult)                                           | [XStoreShowGiftingUIAsync](/reference/system/xstore/functions/xstoreshowgiftinguiasync) の呼び出し結果を取得します。                                         |
| [XStoreShowProductPageUIAsync](/reference/system/xstore/functions/xstoreshowproductpageuiasync)                                     | 指定した ProductId の詳細ページをストア アプリで直接開きます。                                                                                                          |
| [XStoreShowProductPageUIResult](/reference/system/xstore/functions/xstoreshowproductpageuiresult)                                   | [XStoreShowProductPageUIAsync](/reference/system/xstore/functions/xstoreshowproductpageuiasync) の呼び出し結果を取得します。                                 |
| [XStoreShowPurchaseUIAsync](/reference/system/xstore/functions/xstoreshowpurchaseuiasync)                                           | ゲームが特定のストア製品の購入を要求できるようにします。                                                                                                                   |
| [XStoreShowPurchaseUIResult](/reference/system/xstore/functions/xstoreshowpurchaseuiresult)                                         | [XStoreShowPurchaseUIAsync](/reference/system/xstore/functions/xstoreshowpurchaseuiasync) の呼び出し結果を取得します。                                       |
| [XStoreShowRateAndReviewUIAsync](/reference/system/xstore/functions/xstoreshowrateandreviewuiasync)                                 | ユーザーがレビューを入力するか、拒否するかを選択できるシステム ダイアログをポップアップ表示します。                                                                                             |
| [XStoreShowRateAndReviewUIResult](/reference/system/xstore/functions/xstoreshowrateandreviewuiresult)                               | [XStoreShowRateAndReviewUIAsync](/reference/system/xstore/functions/xstoreshowrateandreviewuiasync) の呼び出し結果を取得します。                             |
| [XStoreShowRedeemTokenUIAsync](/reference/system/xstore/functions/xstoreshowredeemtokenuiasync)                                     | 指定したトークンに対して、現在のユーザーによるトークンの引き換えをトリガーします。                                                                                                      |
| [XStoreShowRedeemTokenUIResult](/reference/system/xstore/functions/xstoreshowredeemtokenuiresult)                                   | [XStoreShowRedeemTokenUIAsync](/reference/system/xstore/functions/xstoreshowredeemtokenuiasync) の呼び出し結果を取得します。                                 |
| [XStoreUnregisterGameLicenseChanged](/reference/system/xstore/functions/xstoreunregistergamelicensechanged)                         | 指定したゲーム ライセンス変更コールバックの登録を解除します。                                                                                                                |
| [XStoreUnregisterPackageLicenseLost](/reference/system/xstore/functions/xstoreunregisterpackagelicenselost)                         | 指定したストア ライセンス消失コールバックの登録を解除します。                                                                                                                |

## Structures

| 構造体                                                                                             | 説明                                                                                                                                                                                                                                                         |
| ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [XStoreAddonLicense](/reference/system/xstore/structs/xstoreaddonlicense)                       | アドオン ライセンスを表します。                                                                                                                                                                                                                                           |
| [XStoreAvailability](/reference/system/xstore/structs/xstoreavailability)                       | 製品の利用可能性を表します。                                                                                                                                                                                                                                             |
| [XStoreCanAcquireLicenseResult](/reference/system/xstore/structs/xstorecanacquirelicenseresult) | [XStoreCanAcquireLicenseForPackageAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync) または [XStoreCanAcquireLicenseForStoreIdAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync) の呼び出し結果を取得します。 |
| [XStoreCollectionData](/reference/system/xstore/structs/xstorecollectiondata)                   | ストア コレクションを表します。                                                                                                                                                                                                                                           |
| [XStoreConsumableResult](/reference/system/xstore/structs/xstoreconsumableresult)               | 消耗型製品の数量を表します。                                                                                                                                                                                                                                             |
| [XStoreGameLicense](/reference/system/xstore/structs/xstoregamelicense)                         | ゲーム ライセンスを表します。                                                                                                                                                                                                                                            |
| [XStoreImage](/reference/system/xstore/structs/xstoreimage)                                     | 画像を表します。                                                                                                                                                                                                                                                   |
| [XStorePackageUpdate](/reference/system/xstore/structs/xstorepackageupdate)                     | パッケージの更新を表します。                                                                                                                                                                                                                                             |
| [XStorePrice](/reference/system/xstore/structs/xstoreprice)                                     | ストア価格情報。                                                                                                                                                                                                                                                   |
| [XStoreProduct](/reference/system/xstore/structs/xstoreproduct)                                 | ストア製品を表します。                                                                                                                                                                                                                                                |
| [XStoreRateAndReviewResult](/reference/system/xstore/structs/xstorerateandreviewresult)         | [XStoreShowRateAndReviewUIAsync](/reference/system/xstore/functions/xstoreshowrateandreviewuiasync) の呼び出し結果。                                                                                                                                               |
| [XStoreSku](/reference/system/xstore/structs/xstoresku)                                         | ストア SKU を表します。                                                                                                                                                                                                                                             |
| [XStoreSubscriptionInfo](/reference/system/xstore/structs/xstoresubscriptioninfo)               | サブスクリプションに関する情報を格納します。                                                                                                                                                                                                                                     |
| [XStoreVideo](/reference/system/xstore/structs/xstorevideo)                                     | ストア動画を表します。                                                                                                                                                                                                                                                |

## Enumerations

| 列挙型                                                                             | 説明                               |
| ------------------------------------------------------------------------------- | -------------------------------- |
| [XStoreCanLicenseStatus](/reference/system/xstore/enums/xstorecanlicensestatus) | ユーザーがパッケージのライセンスを取得できるかどうかを示します。 |
| [XStoreDurationUnit](/reference/system/xstore/enums/xstoredurationunit)         | 期間値の単位。                          |
| [XStoreProductKind](/reference/system/xstore/enums/xstoreproductkind)           | 製品の種類を示します。                      |

## Error Codes

以下のエラー コードが XStore API から返される場合があります。完全な一覧については、[エラー コード](/reference/errorcodes) を参照してください。

| コード                                                         | 値          | 説明                                                                     |
| ----------------------------------------------------------- | ---------- | ---------------------------------------------------------------------- |
| E\_GAMESTORE\_LICENSE\_ACTION\_NOT\_APPLICABLE\_TO\_PRODUCT | 0x89245300 | ゲームがライセンスを取得できない製品のライセンスを要求しました。                                       |
| E\_GAMESTORE\_NETWORK\_ERROR                                | 0x89245301 | ゲームがストア ネットワークとの通信に失敗しました。                                             |
| E\_GAMESTORE\_SERVER\_ERROR                                 | 0x89245302 | ゲームがストア サーバーから不正な応答を受信しました。                                            |
| E\_GAMESTORE\_INSUFFICIENT\_QUANTITY                        | 0x89245303 | ユーザーは要求された数量を使用するのに十分な消耗型製品を持っていません。                                   |
| E\_GAMESTORE\_ALREADY\_PURCHASED                            | 0x89245304 | ユーザーは既にこの製品を所有しています。                                                   |
| E\_GAMESTORE\_LICENSE\_ACTION\_THROTTLED                    | 0x89245305 | ゲームが製品のライセンスを過剰にクエリしたため、現在調整されています。同じ製品に対するライセンス試行の上限は 10 分以内に 30 回です。 |

## Conceptual documentation

* [コマースの概要](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/commerce-nav)
* [XStore の概要](/publishing/xstore-commerce/xstore-overview)
* [XStore の基本的なストア操作](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/fundamentals/xstore-basic-store-operations)

## See also

[System API リファレンス](/reference/system/gc-reference-system-toc)\
[XPackage API リファレンス](/reference/system/xpackage/xpackage_members)\
[コマースの概要](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/commerce-nav)


## Related topics

- [XStoreImage](/ja-jp/reference/system/xstore/structs/xstoreimage.md)
- [XStorePrice](/ja-jp/reference/system/xstore/structs/xstoreprice.md)
- [XStoreAvailability](/ja-jp/reference/system/xstore/structs/xstoreavailability.md)
- [XStoreSku](/ja-jp/reference/system/xstore/structs/xstoresku.md)
- [XStoreVideo](/ja-jp/reference/system/xstore/structs/xstorevideo.md)
