Skip to main content
Gets the result of a successful PFFriendsServerGetFriendsListAsync call.

Syntax

Parameters

async   XAsyncBlock*
Inout
XAsyncBlock for the async operation. bufferSize   size_t The size of the buffer for the result object. buffer   void*
*Out_writes_bytes_to(bufferSize,bufferUsed)
Byte buffer used for the result value and its fields. result   PFFriendsGetFriendsListResult**
library-allocated output
Pointer to the result object. bufferUsed   size_t*
optional output
The number of bytes in the provided buffer that were used.

Return value

Type: HRESULT Result code for this API operation. If the service call is unsuccessful, the result will be 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 or any of the global PlayFab Service errors. See doc page “Handling PlayFab Errors” for more details on error handling.

Remarks

result is a pointer within buffer and does not need to be freed separately.

Requirements

Header: PFFriends.h

See also

PFFriends members
Last modified on August 1, 2026