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

# XStoreGetUserCollectionsIdResultSize

> XStoreGetUserCollectionsIdResultSize

# XStoreGetUserCollectionsIdResultSize

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

## Sintaxe

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

### Parâmetros

*async*   \_In\_\
Tipo: [XAsyncBlock\*](/pt-BR/reference/system/xasync/structs/xasyncblock)

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

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

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

### 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](/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidresult) foi chamada. Assim, esta função deve ser chamada depois que [XStoreGetUserCollectionsIdResult](/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidresult) tiver sido chamada, geralmente no contexto de uma função de retorno de chamada. Consulte [XStoreGetUserCollectionsIdAsync](/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidasync) 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](/pt-BR/reference/system/xstore/xstore_members)\
[XStoreGetUserCollectionsIdAsync](/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidasync)\
[XStoreGetUserCollectionsIdResult](/pt-BR/reference/system/xstore/functions/xstoregetusercollectionsidresult)


## Related topics

- [XStoreGetUserCollectionsIdResultSize](/es/reference/system/xstore/functions/xstoregetusercollectionsidresultsize.md)
- [XStoreGetUserCollectionsIdResult](/reference/system/xstore/functions/xstoregetusercollectionsidresult.md)
