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

Obtiene el código de estado HTTP de la respuesta de la llamada HTTP.

## Sintaxis

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

### Parámetros

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

El identificador de la llamada HTTP.

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

El código de estado HTTP de la respuesta de la llamada HTTP.

### Valor devuelto

Tipo: HRESULT

Código de resultado para esta operación de API.

## Comentarios

Solo se puede llamar a esto después de llamar a [XblHttpCallPerformAsync](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync) cuando la tarea HTTP se haya completado.

## Requisitos

**Encabezado:** http\_call\_c.h

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

## Consulte también

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


## Related topics

- [HCHttpCallResponseGetStatusCode](/es/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetstatuscode.md)
- [HCHttpCallResponseSetStatusCode](/es/reference/live/httpclient/httpprovider/functions/hchttpcallresponsesetstatuscode.md)
- [XblHttpCallGetNetworkErrorCode](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetnetworkerrorcode.md)
- [HCHttpCallResponseGetNetworkErrorCode](/es/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetnetworkerrorcode.md)
- [XblHttpCallGetHeader](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheader.md)
