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

Obtém o código de status HTTP da resposta da chamada HTTP.

## Sintaxe

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

### Parâmetros

*call*   \_In\_\
Tipo: [XblHttpCallHandle](/pt-BR/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle)

O identificador da chamada HTTP.

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

O código de status HTTP da resposta da chamada HTTP.

### Valor retornado

Tipo: HRESULT

Código de resultado desta operação de API.

## Comentários

Isso só pode ser chamado após chamar [XblHttpCallPerformAsync](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync) quando a tarefa HTTP for concluída.

## Requisitos

**Cabeçalho:** http\_call\_c.h

**Biblioteca:** Microsoft.Xbox.Services.14x.GDK.C.lib

## Confira também

[http\_call\_c](/pt-BR/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)
