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

> Obtém o resultado de uma chamada PFFriendsClientAddFriendAsync bem-sucedida.

Obtém o resultado de uma chamada PFFriendsClientAddFriendAsync bem-sucedida.

## Sintaxe

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

### Parâmetros

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

XAsyncBlock para a operação assíncrona.

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

Objeto PFFriendsAddFriendResult que será preenchido com o resultado.

### Valor de retorno

Tipo: HRESULT

Código de resultado desta operação de API. Se a chamada de serviço não for bem-sucedida, o resultado será E\_PF\_USERS\_ALREADY\_FRIENDS ou qualquer um dos erros globais do Serviço PlayFab. Consulte a página de documentação "Handling PlayFab Errors" para obter mais detalhes sobre o tratamento de erros.

## Requisitos

**Cabeçalho:** PFFriends.h

## Confira também

[Membros de PFFriends](/pt-BR/services/playfab/api-references/c/pffriends/pffriends_members)


## Related topics

- [PFFriendsClientAddFriendAsync](/pt-BR/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendasync.md)
- [Visão geral da API C do Services - PFFriends.h](/pt-BR/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsClientGetFriendsListAsync](/pt-BR/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistasync.md)
- [PFFriendsAddFriendResult](/pt-BR/services/playfab/api-references/c/pffriendstypes/structs/pffriendsaddfriendresult.md)
- [PFFriendsClientAddFriendRequest](/pt-BR/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientaddfriendrequest.md)
