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

Obtém o resultado de uma chamada para [XStoreCanAcquireLicenseForPackageAsync](/pt-BR/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync) ou [XStoreCanAcquireLicenseForStoreIdAsync](/pt-BR/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync).

## Sintaxe

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

### Membros

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

O SKU que o usuário poderia licenciar.
Retorna "DISC" se licenciado a partir de disco.

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

Indica se um usuário poderia licenciar um pacote.

## Comentários

Embora esta struct contenha os resultados de [XStoreCanAcquireLicenseForPackageAsync](/pt-BR/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync) ou [XStoreCanAcquireLicenseForStoreIdAsync](/pt-BR/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync), a struct é, na verdade, preenchida nas respectivas funções de resultado, que são [XStoreCanAcquireLicenseForPackageResult](/pt-BR/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult) e [XStoreCanAcquireLicenseForStoreIdResult](/pt-BR/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult). **XStoreCanAcquireLicenseResult** é recuperada de [XStoreCanAcquireLicenseForPackageResult](/pt-BR/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult). **XStoreCanAcquireLicenseResult** é recuperada de [XStoreCanAcquireLicenseForStoreIdResult](/pt-BR/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult).

## Requisitos

**Cabeçalho:** XStore.h (incluído em XGameRuntime.h)

**Plataformas compatíveis:** Windows, consoles da família XBOX One e consoles XBOX Series

## Confira também

[XStore](/pt-BR/reference/system/xstore/xstore_members)\
[XStoreCanAcquireLicenseForStoreIdAsync](/pt-BR/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync)\
[XStoreCanAcquireLicenseForPackageAsync](/pt-BR/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync)\
[XStoreCanAcquireLicenseForPackageResult](/pt-BR/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult)\
[XStoreCanAcquireLicenseForStoreIdResult](/pt-BR/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)
