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

# XStoreGetUserCollectionsIdResult

> XStoreGetUserCollectionsIdResult

# XStoreGetUserCollectionsIdResult

Obtiene los resultados de una llamada a [XStoreGetUserCollectionsIdAsync](/reference/system/xstore/functions/xstoregetusercollectionsidasync).

## Sintaxis

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

### Parámetros

*async*   \_Inout\_\
Tipo: [XAsyncBlock\*](/reference/system/xasync/structs/xasyncblock)

El XAsyncBlock que se pasó a [XStoreGetUserCollectionsIdAsync](/reference/system/xstore/functions/xstoregetusercollectionsidasync). El [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) se puede usar para sondear el estado de la llamada y recuperar los resultados de la llamada. Consulte [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) para obtener más información.

*size*   \_In\_\
Tipo: size\_t

El tamaño de la matriz que se pasa a **result**.

*result*   \_Out\_writes\_z\_(size)\
Tipo: char\*

Si se realiza correctamente, contiene el identificador de colecciones.

### Valor devuelto

Tipo: HRESULT

HRESULT de operación correcta o código de error.

## Comentarios

Esta función de resultado le permite recuperar los resultados de la ejecución de [XStoreGetUserCollectionsIdAsync](/reference/system/xstore/functions/xstoregetusercollectionsidasync), así como el identificador de colecciones solicitado si la ejecución se realizó correctamente. Por lo tanto, se debe llamar a esta función después de haber llamado a [XStoreGetUserCollectionsIdAsync](/reference/system/xstore/functions/xstoregetusercollectionsidasync), normalmente en el contexto de una función de devolución de llamada. Consulte [XStoreGetUserCollectionsIdAsync](/reference/system/xstore/functions/xstoregetusercollectionsidasync) para ver un ejemplo de uso.

## Requisitos

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

**Biblioteca:** xgameruntime.lib

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

## Consulte también

[XStore](/reference/system/xstore/xstore_members)\
[XStoreGetUserCollectionsIdAsync](/reference/system/xstore/functions/xstoregetusercollectionsidasync)\
[XStoreGetUserCollectionsIdResultSize](/reference/system/xstore/functions/xstoregetusercollectionsidresultsize)


## Related topics

- [XStoreGetUserCollectionsIdResultSize](/es/reference/system/xstore/functions/xstoregetusercollectionsidresultsize.md)
- [XStoreGetUserCollectionsIdAsync](/es/reference/system/xstore/functions/xstoregetusercollectionsidasync.md)
- [XStore](/es/reference/system/xstore/xstore_members.md)
- [Contenedores de API de C# de Unity para el GDK](/es/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreGetUserPurchaseIdResult](/es/reference/system/xstore/functions/xstoregetuserpurchaseidresult.md)
