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

# PFStatisticsGetStatisticDefinitionAsync

> Reference for PFStatisticsGetStatisticDefinitionAsync, a PlayFab Services C API function that gets information about a statistic definition.

Get current statistic definition information

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFStatisticsGetStatisticDefinitionRequest\*](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsgetstatisticdefinitionrequest)

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 [PFStatisticsGetStatisticDefinitionGetResultSize](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitiongetresultsize) and [PFStatisticsGetStatisticDefinitionGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitiongetresult) to get the result.

## Requirements

**Header:** PFStatistics.h

## See also

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


## Related topics

- [PFStatisticsGetStatisticDefinitionGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitiongetresult.md)
- [Services C API overview - PFStatistics.h](/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [PFStatisticsListStatisticDefinitionsAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsasync.md)
- [PFStatisticsDeleteStatisticDefinitionAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsdeletestatisticdefinitionasync.md)
- [PFStatisticsUpdateStatisticDefinitionAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsupdatestatisticdefinitionasync.md)
