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

# XStoreGetUserCollectionsIdResultSize

> XStoreGetUserCollectionsIdResultSize

# XStoreGetUserCollectionsIdResultSize

Obtém o tamanho da ID retornada por [XStoreGetUserCollectionsIdResult](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidresult.md).

## Sintaxe

```cpp theme={null}
HRESULT XStoreGetUserCollectionsIdResultSize(  
         XAsyncBlock* async,  
         size_t* size  
)  
```

### Parâmetros

*async*   \_In\_\
Tipo: [XAsyncBlock\*](https://docs.xbox.com/pt-BR/reference/system/xasync/structs/xasyncblock.md)

O XAsyncBlock passado para [XStoreGetUserCollectionsIdAsync](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidresult.md) O [XAsyncBlock](https://docs.xbox.com/pt-BR/reference/system/xasync/structs/xasyncblock.md) pode ser usado para sondar o status da chamada e recuperar os resultados da chamada. Consulte [XAsyncBlock](https://docs.xbox.com/pt-BR/reference/system/xasync/structs/xasyncblock.md) para obter mais informações.

*size*   \_Out\_\
Tipo: size\_t\*

Em caso de êxito, contém o tamanho da ID retornada por [XStoreGetUserCollectionsIdResult](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidresult.md).

### Valor retornado

Tipo: HRESULT

Código de êxito ou de erro HRESULT.

## Comentários

Esta função de resultado permite recuperar o tamanho da ID de coleções quando [XStoreGetUserCollectionsIdResult](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidresult.md) foi chamada. Assim, esta função deve ser chamada depois que [XStoreGetUserCollectionsIdResult](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidresult.md) tiver sido chamada, geralmente no contexto de uma função de retorno de chamada. Consulte [XStoreGetUserCollectionsIdAsync](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidasync.md) para obter um exemplo de uso.

## Requisitos

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

**Biblioteca:** xgameruntime.lib

**Plataformas com suporte:** Windows, consoles da família XBOX One e consoles XBOX Series

## Confira também

[XStore](https://docs.xbox.com/pt-BR/reference/system/xstore/xstore_members.md)\
[XStoreGetUserCollectionsIdAsync](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidasync.md)\
[XStoreGetUserCollectionsIdResult](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidresult.md)


## Related topics

- [XStoreGetUserCollectionsIdResult](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidresult.md)
- [XStoreGetUserCollectionsIdAsync](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidasync.md)
- [XStore (conteúdo da API)](https://docs.xbox.com/pt-BR/reference/system/xstore/xstore_members.md)
- [Usar wrappers C# para APIs do GDK no seu projeto do Unity](https://docs.xbox.com/pt-BR/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreGetUserPurchaseIdResultSize](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoregetuserpurchaseidresultsize.md)
