Skip to main content
Get the size in bytes needed to store the result of a ClientAddUsernamePassword call.

Syntax

Parameters

async   XAsyncBlock*
Inout
XAsyncBlock for the async operation. bufferSize   size_t*
output
The buffer size in bytes required for the result.

Return value

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

Requirements

Header: PFAccountManagement.h

See also

PFAccountManagement members
Last modified on August 3, 2026