> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.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\*](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsliststatisticdefinitionsrequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*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](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsgetresultsize) and [PFStatisticsListStatisticDefinitionsGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsgetresult) to get the result.

## Requirements

**Header:** PFStatistics.h

## See also

[PFStatistics members](/services/playfab/api-references/c/pfstatistics/pfstatistics_members)


## Related topics

- [PFStatisticsListStatisticDefinitionsGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsgetresult.md)
- [Services C API overview - PFStatistics.h](/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [PFStatisticsListStatisticDefinitionsGetResultSize](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsgetresultsize.md)
- [PFStatisticsListStatisticDefinitionsResponse](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsliststatisticdefinitionsresponse.md)
- [PFStatisticsListStatisticDefinitionsRequest](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsliststatisticdefinitionsrequest.md)
