Skip to main content
Redeem items from the Microsoft Store. Supported entitlement types are Developer Manager Consumable and Durable.

Syntax

Parameters

entityHandle   PFEntityHandle PFEntityHandle to use for authentication. request   PFInventoryRedeemMicrosoftStoreInventoryItemsRequest* Populated request object. async   XAsyncBlock*
Inout
XAsyncBlock for the async operation.

Return value

Type: HRESULT Result code for this API operation.

Remarks

This API is available on Windows, Linux, and macOS. Redeem items from the Microsoft Store. When the asynchronous task is complete, call PFInventoryRedeemMicrosoftStoreInventoryItemsGetResultSize and PFInventoryRedeemMicrosoftStoreInventoryItemsGetResult to get the result.

Requirements

Header: PFInventory.h

See also

PFInventory members
Last modified on October 20, 2026