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

# PFFriendsServerGetFriendsListGetResult

> 成功した PFFriendsServerGetFriendsListAsync 呼び出しの結果を取得します。

成功した PFFriendsServerGetFriendsListAsync 呼び出しの結果を取得します。

## 構文

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

### パラメーター

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

非同期操作用の XAsyncBlock。

**`bufferSize`**   size\_t

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

**`buffer`**   void\*<br />\**Out\_writes\_bytes\_to*(bufferSize,*bufferUsed)*

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

**`result`**   [PFFriendsGetFriendsListResult\*\*](/services/playfab/api-references/c/pffriendstypes/structs/pffriendsgetfriendslistresult)<br />*library-allocated output*

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

**`bufferUsed`**   size\_t\*<br />*optional output*

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

### 戻り値

型: HRESULT

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

## 解説

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

## 要件

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

## 関連項目

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


## Related topics

- [PFFriendsServerGetFriendsListAsync](/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistasync.md)
- [Services C API overview - PFFriends.h](/ja-jp/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsServerGetFriendsListGetResultSize](/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresultsize.md)
- [PFFriendsServerGetFriendsListRequest](/ja-jp/services/playfab/api-references/c/pffriendstypes/structs/pffriendsservergetfriendslistrequest.md)
- [PFFriendsGetFriendsListResult](/ja-jp/services/playfab/api-references/c/pffriendstypes/structs/pffriendsgetfriendslistresult.md)
