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

# PFInventoryGetInventoryCollectionIdsGetResultSize

> GetInventoryCollectionIds 呼び出しの結果を格納するために必要なサイズ (バイト単位) を取得します。

GetInventoryCollectionIds 呼び出しの結果を格納するために必要なサイズ (バイト単位) を取得します。

## 構文

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

### パラメーター

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

非同期操作用の XAsyncBlock。

**`bufferSize`**   size\_t\*\
*output*

結果に必要なバッファー サイズ (バイト単位)。

### 戻り値

型: HRESULT

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

## 要件

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

## 関連項目

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


## Related topics

- [PFInventoryGetInventoryCollectionIdsAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventorycollectionidsasync.md)
- [Services C API overview - PFInventory.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [PFInventoryGetInventoryCollectionIdsGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventorycollectionidsgetresult.md)
- [Get Inventory Collection Ids](https://docs.xbox.com/api-reference/inventory/get-inventory-collection-ids.md)
- [PFInventoryGetInventoryCollectionIdsResponse](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygetinventorycollectionidsresponse.md)
