> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFInventoryRedeemNintendoEShopInventoryItemsGetResult

> PFInventoryRedeemNintendoEShopInventoryItemsAsync 呼び出しが成功した場合の結果を取得します。

PFInventoryRedeemNintendoEShopInventoryItemsAsync 呼び出しが成功した場合の結果を取得します。

## 構文

```cpp theme={null}
HRESULT PFInventoryRedeemNintendoEShopInventoryItemsGetResult(  
    XAsyncBlock* async,  
    size_t bufferSize,  
    void* buffer,  
    PFInventoryRedeemNintendoEShopInventoryItemsResponse** result,  
    size_t* bufferUsed  
)  
```

### パラメーター

**`async`**   XAsyncBlock\*\
*Inout*

非同期操作用の XAsyncBlock。

**`bufferSize`**   size\_t

結果オブジェクト用のバッファーのサイズ。

**`buffer`**   void\*\
\**Out\_writes\_bytes\_to*(bufferSize,*bufferUsed)*

結果値とそのフィールドに使用されるバイト バッファー。

**`result`**   [PFInventoryRedeemNintendoEShopInventoryItemsResponse\*\*](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemnintendoeshopinventoryitemsresponse.md)\
*library-allocated output*

結果オブジェクトへのポインター。

**`bufferUsed`**   size\_t\*\
*optional output*

指定されたバッファーで使用されたバイト数。

### 戻り値

型: HRESULT

この API 操作の結果コード。サービス呼び出しが失敗した場合、結果は E\_PF\_ACCOUNT\_NOT\_LINKED、E\_PF\_INVALID\_CATALOG\_ITEM\_CONFIGURATION、E\_PF\_INVALID\_NINTENDO\_SWITCH\_ACCOUNT\_ID またはグローバルな PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 解説

result は buffer 内のポインターであり、個別に解放する必要はありません。

## 要件

**ヘッダー:** PFInventory.h

## 関連項目

[PFInventory のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/pfinventory_members.md)


## Related topics

- [PFInventoryRedeemNintendoEShopInventoryItemsAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemnintendoeshopinventoryitemsasync.md)
- [Services C API overview - PFInventory.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [PFInventoryRedeemNintendoEShopInventoryItemsGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemnintendoeshopinventoryitemsgetresultsize.md)
- [Redeem Nintendo E Shop Inventory Items](https://docs.xbox.com/api-reference/inventory/redeem-nintendo-e-shop-inventory-items.md)
- [PFInventoryRedeemNintendoEShopInventoryItemsRequest](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemnintendoeshopinventoryitemsrequest.md)
