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

# XblHttpCallGetStatusCode

> XblHttpCallGetStatusCode

# XblHttpCallGetStatusCode

Obtient le code d'état HTTP de la réponse de l'appel HTTP.

## Syntaxe

```cpp theme={null}
HRESULT XblHttpCallGetStatusCode(  
         XblHttpCallHandle call,  
         uint32_t* statusCode  
)  
```

### Paramètres

*call*   \_In\_\
Type : [XblHttpCallHandle](/fr-CA/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle)

Handle de l'appel HTTP.

*statusCode*   \_Out\_\
Type : uint32\_t\*

Code d'état HTTP de la réponse de l'appel HTTP.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API.

## Remarques

Cette fonction ne peut être appelée qu'après l'appel de [XblHttpCallPerformAsync](/fr-CA/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync), une fois la tâche HTTP terminée.

## Configuration requise

**En-tête :** http\_call\_c.h

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

## Voir aussi

[http\_call\_c](/fr-CA/reference/live/xsapi-c/http_call_c/http_call_c_members)


## Related topics

- [XblHttpCallGetStatusCode](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetstatuscode.md)
- [HTTP and WebSocket web requests in the GDK](/build/console-features/networking/web-requests/http-networking.md)
- [HCHttpCallResponseGetStatusCode](/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetstatuscode.md)
