Skip to main content
Get the size in bytes needed to store the result of a GetStatistics 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_API_NOT_ENABLED_FOR_GAME_CLIENT_ACCESS, E_PF_INVALID_ENTITY_TYPE, E_PF_NOT_AUTHORIZED, E_PF_STATISTIC_NOT_FOUND or any of the global PlayFab Service errors. See doc page “Handling PlayFab Errors” for more details on error handling.

Requirements

Header: PFStatistics.h

See also

PFStatistics members
Last modified on August 31, 2026