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

# PFFriendsClientAddFriendGetResult

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

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

## 構文

```cpp theme={null}
HRESULT PFFriendsClientAddFriendGetResult(  
    XAsyncBlock* async,  
    PFFriendsAddFriendResult* result  
)  
```

### パラメーター

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

非同期操作用の XAsyncBlock。

**`result`**   [PFFriendsAddFriendResult\*](/services/playfab/api-references/c/pffriendstypes/structs/pffriendsaddfriendresult)<br />*output*

結果が設定される PFFriendsAddFriendResult オブジェクト。

### 戻り値

型: HRESULT

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

## 要件

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

## 関連項目

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


## Related topics

- [PFFriendsClientAddFriendAsync](/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendasync.md)
- [Services C API overview - PFFriends.h](/ja-jp/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsClientGetFriendsListAsync](/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistasync.md)
- [PFFriendsAddFriendResult](/ja-jp/services/playfab/api-references/c/pffriendstypes/structs/pffriendsaddfriendresult.md)
- [PFFriendsClientAddFriendRequest](/ja-jp/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientaddfriendrequest.md)
