> ## 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 qu'elle contient.

## Syntaxe

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

### Paramètres

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

Contexte XBOX Live de l'utilisateur local.

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

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

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

Nom de la trémie (hopper) dont les statistiques doivent être interrogées.

*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

Appelle 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/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members)


## Related topics

- [XblMatchmakingGetHopperStatisticsAsync](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsasync.md)
- [XblMatchmakingGetHopperStatisticsResult](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsresult.md)
