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

Obtiene el resultado de una llamada a [XStoreCanAcquireLicenseForPackageAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync) o [XStoreCanAcquireLicenseForStoreIdAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync).

## Sintaxis

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

### Miembros

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

El SKU que el usuario podría licenciar.
Devuelve "DISC" si se licencia desde disco.

*status*\
Tipo: [XStoreCanLicenseStatus](/reference/system/xstore/enums/xstorecanlicensestatus)

Indica si un usuario podría licenciar un paquete.

## Comentarios

Aunque esta estructura contiene los resultados de [XStoreCanAcquireLicenseForPackageAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync) o [XStoreCanAcquireLicenseForStoreIdAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync), la estructura se rellena realmente en sus funciones de resultados, que son [XStoreCanAcquireLicenseForPackageResult](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult) y [XStoreCanAcquireLicenseForStoreIdResult](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult), respectivamente. **XStoreCanAcquireLicenseResult** se recupera de [XStoreCanAcquireLicenseForPackageResult](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult). **XStoreCanAcquireLicenseResult** se recupera de [XStoreCanAcquireLicenseForStoreIdResult](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult).

## Requisitos

**Encabezado:** XStore.h (incluido en XGameRuntime.h)

**Plataformas compatibles:** Windows, consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

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


## Related topics

- [XStoreCanLicenseStatus](/es/reference/system/xstore/enums/xstorecanlicensestatus.md)
- [XStoreCanAcquireLicenseForPackageResult](/es/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult.md)
- [XStoreCanAcquireLicenseForStoreIdResult](/es/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult.md)
- [XStore](/es/reference/system/xstore/xstore_members.md)
- [XStoreCanAcquireLicenseForPackageAsync](/es/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync.md)
