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

# PFFriendsClientAddFriendGetResult

> 성공한 PFFriendsClientAddFriendAsync 호출의 결과를 가져옵니다.

성공한 PFFriendsClientAddFriendAsync 호출의 결과를 가져옵니다.

## 구문

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

### 매개 변수

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

비동기 작업을 위한 XAsyncBlock입니다.

**`result`**   [PFFriendsAddFriendResult\*](https://docs.xbox.com/ko/services/playfab/api-references/c/pffriendstypes/structs/pffriendsaddfriendresult.md)\
*output*

결과로 채워질 PFFriendsAddFriendResult 개체입니다.

### 반환 값

형식: HRESULT

이 API 작업의 결과 코드입니다. 서비스 호출이 실패하면 결과는 E\_PF\_USERS\_ALREADY\_FRIENDS 또는 전역 PlayFab 서비스 오류 중 하나가 됩니다. 오류 처리에 대한 자세한 내용은 “Handling PlayFab Errors” 문서 페이지를 참조하세요.

## 요구 사항

**헤더:** PFFriends.h

## 참고 항목

[PFFriends 멤버](https://docs.xbox.com/ko/services/playfab/api-references/c/pffriends/pffriends_members.md)


## Related topics

- [PFFriendsClientAddFriendAsync](https://docs.xbox.com/ko/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendasync.md)
- [Services C API 개요 - PFFriends.h](https://docs.xbox.com/ko/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsClientGetFriendsListAsync](https://docs.xbox.com/ko/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistasync.md)
- [PFFriendsAddFriendResult](https://docs.xbox.com/ko/services/playfab/api-references/c/pffriendstypes/structs/pffriendsaddfriendresult.md)
- [PFFriendsClientAddFriendRequest](https://docs.xbox.com/ko/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientaddfriendrequest.md)
