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

# PFInventoryRedeemMicrosoftStoreInventoryItemsAsync

> Échanger des articles du Microsoft Store. Les types de droits pris en charge sont Developer Manager Consumable et Durable.

Échanger des articles du Microsoft Store. Les types de droits pris en charge sont Developer Manager Consumable et Durable.

## Syntaxe

```cpp theme={null}
HRESULT PFInventoryRedeemMicrosoftStoreInventoryItemsAsync(  
    PFEntityHandle entityHandle,  
    const PFInventoryRedeemMicrosoftStoreInventoryItemsRequest* request,  
    XAsyncBlock* async  
)  
```

### Paramètres

**`entityHandle`**   PFEntityHandle

PFEntityHandle à utiliser pour l'authentification.

**`request`**   [PFInventoryRedeemMicrosoftStoreInventoryItemsRequest\*](/fr-CA/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemmicrosoftstoreinventoryitemsrequest)

Objet de requête renseigné.

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

XAsyncBlock pour l'opération asynchrone.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API.

## Notes

Cette API est disponible sur Windows, Linux et macOS. Échanger des articles du Microsoft Store. Lorsque la tâche asynchrone est terminée, appelez [PFInventoryRedeemMicrosoftStoreInventoryItemsGetResultSize](/fr-CA/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemmicrosoftstoreinventoryitemsgetresultsize) and [PFInventoryRedeemMicrosoftStoreInventoryItemsGetResult](/fr-CA/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemmicrosoftstoreinventoryitemsgetresult) pour obtenir le résultat.

## Configuration requise

**En-tête :** PFInventory.h

## Voir aussi

[Membres de PFInventory](/fr-CA/services/playfab/api-references/c/pfinventory/pfinventory_members)


## Related topics

- [PFInventoryRedeemMicrosoftStoreInventoryItemsGetResult](/fr-CA/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemmicrosoftstoreinventoryitemsgetresult.md)
- [Vue d'ensemble de l'API C Services - PFInventory.h](/fr-CA/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [Redeem Microsoft Store Inventory Items](/api-reference/inventory/redeem-microsoft-store-inventory-items.md)
- [PFInventoryRedeemMicrosoftStoreInventoryItemsRequest](/fr-CA/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemmicrosoftstoreinventoryitemsrequest.md)
- [PFInventoryRedeemMicrosoftStoreInventoryItemsResponse](/fr-CA/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemmicrosoftstoreinventoryitemsresponse.md)
