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

# PFInventoryRedeemMicrosoftStoreInventoryItemsGetResultSize

> Obtiene el tamaño en bytes necesario para almacenar el resultado de una llamada a RedeemMicrosoftStoreInventoryItems.

Obtiene el tamaño en bytes necesario para almacenar el resultado de una llamada a RedeemMicrosoftStoreInventoryItems.

## Sintaxis

```cpp theme={null}
HRESULT PFInventoryRedeemMicrosoftStoreInventoryItemsGetResultSize(  
    XAsyncBlock* async,  
    size_t* bufferSize  
)  
```

### Parámetros

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock para la operación asincrónica.

**`bufferSize`**   size\_t\*<br />*output*

Tamaño del búfer en bytes necesario para el resultado.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API. Si la llamada al servicio no se realiza correctamente, el resultado será E\_PF\_ACCOUNT\_NOT\_LINKED, E\_PF\_INVALID\_CATALOG\_ITEM\_CONFIGURATION, E\_PF\_INVALID\_XBOX\_LIVE\_TOKEN, E\_PF\_XBOX\_INACCESSIBLE, E\_PF\_XBOX\_XASS\_EXCHANGE\_FAILURE o cualquiera de los errores globales de PlayFab Service. Consulte la página de documentación "Handling PlayFab Errors" para obtener más detalles sobre el control de errores.

## Requisitos

**Encabezado:** PFInventory.h

## Consulte también

[Miembros de PFInventory](/services/playfab/api-references/c/pfinventory/pfinventory_members)


## Related topics

- [PFInventoryRedeemMicrosoftStoreInventoryItemsAsync](/es/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemmicrosoftstoreinventoryitemsasync.md)
- [Información general de la API de C de Services - PFInventory.h](/es/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [PFInventoryRedeemMicrosoftStoreInventoryItemsGetResult](/es/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemmicrosoftstoreinventoryitemsgetresult.md)
- [PFInventoryRedeemAppleAppStoreInventoryItemsGetResultSize](/es/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemappleappstoreinventoryitemsgetresultsize.md)
- [PFInventoryRedeemPlayStationStoreInventoryItemsGetResultSize](/es/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemplaystationstoreinventoryitemsgetresultsize.md)
