Skip to main content
Subtract inventory items.

Syntax

Parameters

entityHandle   PFEntityHandle PFEntityHandle to use for authentication. request   PFInventorySubtractInventoryItemsRequest* 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 all platforms. Given an entity type, entity identifier and container details, will subtract the specified inventory items. . When the asynchronous task is complete, call PFInventorySubtractInventoryItemsGetResultSize and PFInventorySubtractInventoryItemsGetResult to get the result.

Requirements

Header: PFInventory.h

See also

PFInventory members
Last modified on August 1, 2026