> ## 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.

# PFStatisticsListStatisticDefinitionsAsync

> Reference for PFStatisticsListStatisticDefinitionsAsync, a PlayFab Services C API function that gets information for all current statistic definitions.

Get all current statistic definitions information

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFStatisticsListStatisticDefinitionsRequest\*](https://docs.xbox.com/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsliststatisticdefinitionsrequest.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, StatisticDeleteStatisticDefinitionAsync. When the asynchronous task is complete, call [PFStatisticsListStatisticDefinitionsGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsgetresultsize.md) and [PFStatisticsListStatisticDefinitionsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsgetresult.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

- [PFStatisticsListStatisticDefinitionsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsgetresult.md)
- [Services C API overview - PFStatistics.h](https://docs.xbox.com/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [List Statistic Definitions](https://docs.xbox.com/api-reference/statistics/list-statistic-definitions.md)
- [PFStatisticsListStatisticDefinitionsGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsgetresultsize.md)
- [PFStatisticsListStatisticDefinitionsResponse](https://docs.xbox.com/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsliststatisticdefinitionsresponse.md)
