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

# XStoreQueryProductsResult

> XStoreQueryProductsResult

# XStoreQueryProductsResult

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

## Sintaxis

```cpp theme={null}
HRESULT XStoreQueryProductsResult(  
         XAsyncBlock* async,  
         XStoreProductQueryHandle* productQueryHandle  
)  
```

### Parámetros

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

El `XAsyncBlock` pasado a [XStoreQueryProductsAsync](/reference/system/xstore/functions/xstorequeryproductsasync).
Use el [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) para comprobar el estado de la llamada y obtener los resultados.
Para obtener más información, consulte [XAsyncBlock](/reference/system/xasync/structs/xasyncblock).

*productQueryHandle*   \_Out\_\
Tipo: XStoreProductQueryHandle\*

Al devolverse, contiene un XStoreProductQueryHandle que representa la consulta. El XStoreProductQueryHandle devuelto se puede pasar a [XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery) para enumerar los productos que devolvió la consulta.

### Valor devuelto

Tipo: HRESULT

S\_OK si se ejecuta correctamente; de lo contrario, devuelve un código de error.

## Comentarios

Use esta función de resultado para obtener los resultados de ejecución de [XStoreQueryProductsAsync](/reference/system/xstore/functions/xstorequeryproductsasync). Si la ejecución se realiza correctamente, devuelve la información de descripción.
Llame a esta función después de [XStoreQueryProductsAsync](/reference/system/xstore/functions/xstorequeryproductsasync), normalmente en el contexto de una función de devolución de llamada.

Para ver un ejemplo de uso, consulte [XStoreQueryProductsAsync](/reference/system/xstore/functions/xstorequeryproductsasync).

## Requisitos

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

**Biblioteca:** xgameruntime.lib

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

## Documentación conceptual

* [Concesión a los jugadores de acceso a contenido de complementos](/publishing/xstore-commerce/xstore-granting-access)

## Consulte también

[XStore](/reference/system/xstore/xstore_members)\
[XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync)\
[XStoreQueryEntitledProductsAsync](/reference/system/xstore/functions/xstorequeryentitledproductsasync)\
[XStoreQueryProductsAsync](/reference/system/xstore/functions/xstorequeryproductsasync)\
[XStoreQueryProductForCurrentGameAsync](/reference/system/xstore/functions/xstorequeryproductforcurrentgameasync)\
[XStoreQueryProductForPackageAsync](/reference/system/xstore/functions/xstorequeryproductforpackageasync)\
[Operaciones básicas de la tienda](/publishing/xstore-commerce/xstore-basic-operations)\
[Concesión a los jugadores de acceso a contenido de complementos](/publishing/xstore-commerce/xstore-granting-access)


## Related topics

- [XStoreEnumerateProductsQuery](/es/reference/system/xstore/functions/xstoreenumerateproductsquery.md)
- [XStoreCloseProductsQueryHandle](/es/reference/system/xstore/functions/xstorecloseproductsqueryhandle.md)
- [XStoreQueryProductsAsync](/es/reference/system/xstore/functions/xstorequeryproductsasync.md)
- [XStoreProductsQueryHasMorePages](/es/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md)
- [XStoreProductsQueryNextPageAsync](/es/reference/system/xstore/functions/xstoreproductsquerynextpageasync.md)
