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

# PFFriendsClientGetFriendsListGetResultSize

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

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

## 構文

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

### パラメーター

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

非同期操作用の XAsyncBlock。

**`bufferSize`**   size\_t\*<br />*output*

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

### 戻り値

型: HRESULT

この API 操作の結果コード。サービス呼び出しが失敗した場合、結果は E\_PF\_ACCOUNT\_NOT\_FOUND、E\_PF\_EXPIRED\_XBOX\_LIVE\_TOKEN、E\_PF\_FACEBOOK\_API\_ERROR、E\_PF\_INVALID\_XBOX\_LIVE\_TOKEN、E\_PF\_XBOX\_INACCESSIBLE、E\_PF\_XBOX\_SERVICE\_TOO\_MANY\_REQUESTS、E\_PF\_XBOX\_XASS\_EXCHANGE\_FAILURE、またはグローバルな PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 要件

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

## 関連項目

[PFFriends のメンバー](/services/playfab/api-references/c/pffriends/pffriends_members)


## Related topics

- [PFFriendsClientGetFriendsListAsync](/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistasync.md)
- [Services C API overview - PFFriends.h](/ja-jp/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsClientGetFriendsListGetResult](/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresult.md)
- [PFFriendsServerGetFriendsListGetResultSize](/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresultsize.md)
- [PFFriendsServerGetFriendsListGetResult](/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresult.md)
