> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XStoreCanLicenseStatus

> XStoreCanLicenseStatus

# XStoreCanLicenseStatus

ユーザーがパッケージのライセンスを取得できるかどうかを示します。

## Syntax

```cpp theme={null}
enum class XStoreCanLicenseStatus  : uint32_t  
{  
    NotLicensableToUser = 0,  
    Licensable = 1,  
    LicenseActionNotApplicableToProduct = 2,
}  
```

## Constants

| 定数 | 説明 |
| - | - |
| NotLicensableToUser | パッケージはユーザーに対してライセンスを付与できません。 |
| Licensable | パッケージはユーザーに対してライセンスを付与できます。 |
| LicenseActionNotApplicableToProduct | 製品は個別にライセンスを付与できません。 |

## Remarks

この列挙型は、[XStoreCanAcquireLicenseForStoreIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync.md) または [XStoreCanAcquireLicenseForPackageAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync.md) の呼び出しの結果として、パッケージにライセンスを付与できるかどうかを示します。ライセンス付与可能なステータスは、それぞれの結果関数から取得できます。**XStoreCanLicenseStatus** は [XStoreCanAcquireLicenseResult](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstorecanacquirelicenseresult.md) 構造体のメンバーです。

## Requirements

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

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

## See also

[XStore](https://docs.xbox.com/ja-jp/reference/system/xstore/xstore_members.md)\
[XStoreCanAcquireLicenseResult](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstorecanacquirelicenseresult.md)\
[XStoreCanAcquireLicenseForPackageAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync.md)\
[XStoreCanAcquireLicenseForStoreIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync.md)


## Related topics

- [XStoreCanAcquireLicenseResult](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstorecanacquirelicenseresult.md)
- [XStore (API の内容)](https://docs.xbox.com/ja-jp/reference/system/xstore/xstore_members.md)
- [プレイヤーにアドオン コンテンツへのアクセスを付与する](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-granting-access.md)
- [XStoreCanAcquireLicenseForStoreIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync.md)
- [XStoreCanAcquireLicenseForStoreIdResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult.md)
