> ## 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](/ko/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendasync.md)
- [Services C API 개요 - PFFriends.h](/ko/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsClientGetFriendsListAsync](/ko/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistasync.md)
- [PFFriendsAddFriendResult](/ko/services/playfab/api-references/c/pffriendstypes/structs/pffriendsaddfriendresult.md)
- [PFFriendsClientAddFriendRequest](/ko/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientaddfriendrequest.md)
