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

# PFFriendsServerGetFriendsListGetResult

> Obtiene el resultado de una llamada correcta a PFFriendsServerGetFriendsListAsync.

Obtiene el resultado de una llamada correcta a PFFriendsServerGetFriendsListAsync.

## Sintaxis

```cpp theme={null}
HRESULT PFFriendsServerGetFriendsListGetResult(  
    XAsyncBlock* async,  
    size_t bufferSize,  
    void* buffer,  
    PFFriendsGetFriendsListResult** result,  
    size_t* bufferUsed  
)  
```

### Parámetros

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

XAsyncBlock para la operación asincrónica.

**`bufferSize`**   size\_t

Tamaño del búfer para el objeto de resultado.

**`buffer`**   void\*<br />\**Out\_writes\_bytes\_to*(bufferSize,*bufferUsed)*

Búfer de bytes usado para el valor del resultado y sus campos.

**`result`**   [PFFriendsGetFriendsListResult\*\*](/services/playfab/api-references/c/pffriendstypes/structs/pffriendsgetfriendslistresult)<br />*library-allocated output*

Puntero al objeto de resultado.

**`bufferUsed`**   size\_t\*<br />*optional output*

Número de bytes del búfer proporcionado que se usaron.

### 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\_ACCOUNT\_NOT\_FOUND, E\_PF\_EXPIRED\_XBOX\_LIVE\_TOKEN, E\_PF\_FACEBOOK\_API\_ERROR, E\_PF\_INVALID\_SIGNATURE, E\_PF\_INVALID\_SIGNATURE\_TIME, E\_PF\_INVALID\_XBOX\_LIVE\_TOKEN, E\_PF\_PLAYER\_SECRET\_NOT\_CONFIGURED, E\_PF\_XBOX\_INACCESSIBLE, E\_PF\_XBOX\_SERVICE\_TOO\_MANY\_REQUESTS, E\_PF\_XBOX\_XASS\_EXCHANGE\_FAILURE 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.

## Comentarios

result es un puntero dentro de buffer y no es necesario liberarlo por separado.

## Requisitos

**Encabezado:** PFFriends.h

## Consulte también

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


## Related topics

- [PFFriendsServerGetFriendsListAsync](/es/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistasync.md)
- [Información general de la API de C de Services - PFFriends.h](/es/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsServerGetFriendsListGetResultSize](/es/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresultsize.md)
- [PFFriendsServerGetFriendsListRequest](/es/services/playfab/api-references/c/pffriendstypes/structs/pffriendsservergetfriendslistrequest.md)
- [PFFriendsGetFriendsListResult](/es/services/playfab/api-references/c/pffriendstypes/structs/pffriendsgetfriendslistresult.md)
