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

# XblMatchmakingGetHopperStatisticsAsync

> XblMatchmakingGetHopperStatisticsAsync

# XblMatchmakingGetHopperStatisticsAsync

Obtient des statistiques sur une trémie (hopper), comme le nombre de joueurs qui s'y trouvent.

## Syntaxe

```cpp theme={null}
HRESULT XblMatchmakingGetHopperStatisticsAsync(  
         XblContextHandle xboxLiveContext,  
         const char* serviceConfigurationId,  
         const char* hopperName,  
         XAsyncBlock* asyncBlock  
)  
```

### Paramètres

*xboxLiveContext*   \_In\_\
Type : [XblContextHandle](/fr-CA/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

Contexte XBOX Live pour l'utilisateur local.

*serviceConfigurationId*   \_In\_\
Type : char\*

Identifiant de configuration de service (SCID) du titre. Le SCID respecte la casse; collez-le donc directement à partir de Partner Center.

*hopperName*   \_In\_\
Type : char\*

Nom de la trémie (hopper) dont il faut interroger les statistiques.

*asyncBlock*   \_In\_\
Type : XAsyncBlock\*

AsyncBlock pour cette opération.

### Valeur de retour

Type : HRESULT

Code de retour HRESULT pour cette opération d'API.

## Appel REST

Calls V103 GET /serviceconfigs/{serviceConfigId}/hoppers/{hopperName}/stats

## Configuration requise

**En-tête :** matchmaking\_c.h

**Bibliothèque :** Microsoft.Xbox.Services.14x.GDK.C.lib

## Voir aussi

[matchmaking\_c](/fr-CA/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members)


## Related topics

- [XblMatchmakingGetHopperStatisticsResult](/fr-CA/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsresult.md)
- [XblMatchmakingGetHopperStatisticsResultSize](/fr-CA/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsresultsize.md)
- [XblMatchmakingGetMatchTicketDetailsAsync](/fr-CA/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsasync.md)
- [XblUserStatisticsGetMultipleUserStatisticsAsync](/fr-CA/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsasync.md)
- [XblUserStatisticsGetSingleUserStatisticAsync](/fr-CA/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticasync.md)
