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

# XStoreCanAcquireLicenseResult

> XStoreCanAcquireLicenseResult

# XStoreCanAcquireLicenseResult

Obtient le résultat d'un appel à [XStoreCanAcquireLicenseForPackageAsync](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync) ou à [XStoreCanAcquireLicenseForStoreIdAsync](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync).

## Syntaxe

```cpp theme={null}
typedef struct XStoreCanAcquireLicenseResult {  
    char licensableSku[SKU_ID_SIZE];  
    XStoreCanLicenseStatus status;  
} XStoreCanAcquireLicenseResult  
```

### Membres

*licensableSku*\
Type : char\[SKU\_ID\_SIZE]

Le SKU pour lequel l'utilisateur pourrait obtenir une licence.
Retourne "DISC" si la licence provient d'un disque.

*status*\
Type : [XStoreCanLicenseStatus](/fr-CA/reference/system/xstore/enums/xstorecanlicensestatus)

Indique si un utilisateur pourrait obtenir une licence pour un package.

## Remarques

Bien que cette structure contienne les résultats de [XStoreCanAcquireLicenseForPackageAsync](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync) ou de [XStoreCanAcquireLicenseForStoreIdAsync](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync), elle est en réalité remplie dans leurs fonctions de résultat, soit [XStoreCanAcquireLicenseForPackageResult](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult) et [XStoreCanAcquireLicenseForStoreIdResult](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult) respectivement. **XStoreCanAcquireLicenseResult** est récupéré à partir de [XStoreCanAcquireLicenseForPackageResult](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult). **XStoreCanAcquireLicenseResult** est récupéré à partir de [XStoreCanAcquireLicenseForStoreIdResult](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult).

## Configuration requise

**En-tête :** XStore.h (inclus dans XGameRuntime.h)

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

[XStore](/fr-CA/reference/system/xstore/xstore_members)\
[XStoreCanAcquireLicenseForStoreIdAsync](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync)\
[XStoreCanAcquireLicenseForPackageAsync](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync)\
[XStoreCanAcquireLicenseForPackageResult](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult)\
[XStoreCanAcquireLicenseForStoreIdResult](/fr-CA/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult)


## Related topics

- [XStoreCanAcquireLicenseResult](/reference/system/xstore/structs/xstorecanacquirelicenseresult.md)
- [XStoreCanAcquireLicenseForPackageResult](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult.md)
- [XStoreCanAcquireLicenseForStoreIdResult](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult.md)
- [XStoreCanLicenseStatus](/reference/system/xstore/enums/xstorecanlicensestatus.md)
