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

Indicates if a user would be able to license a package.

## Syntax

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

## Constants

| Constant | Description |
| - | - |
| NotLicensableToUser | The package is not licensable to the user. |
| Licensable | The package is licensable to the user. |
| LicenseActionNotApplicableToProduct | The product is not individually licensable. |

## Remarks

This enum denotes whether or not a package can be licensed as a result of a call to [XStoreCanAcquireLicenseForStoreIdAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync.md) or [XStoreCanAcquireLicenseForPackageAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync.md). The licensable status can be found as a result of their respective return functions.  **XStoreCanLicenseStatus** is a member of the [XStoreCanAcquireLicenseResult](https://docs.xbox.com/reference/system/xstore/structs/xstorecanacquirelicenseresult.md) struct.

## Requirements

**Header:** XStore.h (included in XGameRuntime.h)

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

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


## Related topics

- [XStoreCanAcquireLicenseResult](https://docs.xbox.com/reference/system/xstore/structs/xstorecanacquirelicenseresult.md)
- [XStore (API contents)](https://docs.xbox.com/reference/system/xstore/xstore_members.md)
- [Granting players access to add-on content](https://docs.xbox.com/publishing/xstore-commerce/xstore-granting-access.md)
- [XStoreCanAcquireLicenseForStoreIdResult](https://docs.xbox.com/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult.md)
- [XStoreCanAcquireLicenseForPackageResult](https://docs.xbox.com/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult.md)
