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

Syntax

Parameters

async   XAsyncBlock*
Inout
XAsyncBlock for the async operation. result   PFFriendsAddFriendResult*
output
PFFriendsAddFriendResult object that will be populated with the result.

Return value

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

Requirements

Header: PFFriends.h

See also

PFFriends members
Last modified on August 1, 2026