> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFStatisticsIncrementStatisticVersionAsync

> Reference for PFStatisticsIncrementStatisticVersionAsync, a PlayFab Services C API function that increments an entity statistic definition version.

Increment an entity statistic definition version.

## Syntax

```cpp theme={null}
HRESULT PFStatisticsIncrementStatisticVersionAsync(  
    PFEntityHandle entityHandle,  
    const PFStatisticsIncrementStatisticVersionRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFStatisticsIncrementStatisticVersionRequest\*](https://docs.xbox.com/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsincrementstatisticversionrequest.md)

Populated request object.

**`async`**   XAsyncBlock\*\
*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on Windows, Linux, and macOS. See also StatisticCreateStatisticDefinitionAsync. When the asynchronous task is complete, call [PFStatisticsIncrementStatisticVersionGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsincrementstatisticversiongetresult.md) to get the result.

## Requirements

**Header:** PFStatistics.h

## See also

[PFStatistics members](https://docs.xbox.com/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)


## Related topics

- [PFStatisticsIncrementStatisticVersionGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsincrementstatisticversiongetresult.md)
- [Services C API overview - PFStatistics.h](https://docs.xbox.com/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [Increment Statistic Version](https://docs.xbox.com/api-reference/statistics/increment-statistic-version.md)
- [PFStatisticsIncrementStatisticVersionRequest](https://docs.xbox.com/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsincrementstatisticversionrequest.md)
- [PFStatisticsIncrementStatisticVersionResponse](https://docs.xbox.com/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsincrementstatisticversionresponse.md)
