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

> Obtiene el resultado de una llamada correcta a PFFriendsClientAddFriendAsync.

Obtiene el resultado de una llamada correcta a PFFriendsClientAddFriendAsync.

## Sintaxis

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

### Parámetros

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

XAsyncBlock para la operación asincrónica.

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

Objeto PFFriendsAddFriendResult que se rellenará con el resultado.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API. Si la llamada al servicio no se realiza correctamente, el resultado será E\_PF\_USERS\_ALREADY\_FRIENDS o cualquiera de los errores globales de PlayFab Service. Consulte la página de documentación "Handling PlayFab Errors" para obtener más detalles sobre el control de errores.

## Requisitos

**Encabezado:** PFFriends.h

## Consulte también

[Miembros de PFFriends](/services/playfab/api-references/c/pffriends/pffriends_members)


## Related topics

- [PFFriendsClientAddFriendAsync](/es/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendasync.md)
- [Información general de la API de C de Services - PFFriends.h](/es/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsClientGetFriendsListAsync](/es/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistasync.md)
- [PFFriendsAddFriendResult](/es/services/playfab/api-references/c/pffriendstypes/structs/pffriendsaddfriendresult.md)
- [PFFriendsClientAddFriendRequest](/es/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientaddfriendrequest.md)
