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

# XblHttpCallGetNetworkErrorCode

> XblHttpCallGetNetworkErrorCode

# XblHttpCallGetNetworkErrorCode

Obtiene el código de error de red de la llamada HTTP.

## Sintaxis

```cpp theme={null}
HRESULT XblHttpCallGetNetworkErrorCode(  
         XblHttpCallHandle call,  
         HRESULT* networkErrorCode,  
         uint32_t* platformNetworkErrorCode  
)  
```

### Parámetros

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

El identificador de la llamada HTTP.

*networkErrorCode*   \_Out\_\
Tipo: HRESULT\*

El código de error de red de la llamada HTTP. Los valores posibles son S\_OK o E\_FAIL.

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

El código de error de red específico de la plataforma de la llamada HTTP que se usará para el seguimiento o la depuración.

### Valor devuelto

Tipo: HRESULT

Código de resultado para esta operación de API. Los valores posibles son S\_OK, E\_INVALIDARG o E\_FAIL.

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

- [HCHttpCallResponseGetNetworkErrorCode](/es/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetnetworkerrorcode.md)
- [XblHttpCallGetPlatformNetworkErrorMessage](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetplatformnetworkerrormessage.md)
- [HCHttpCallResponseSetNetworkErrorCode](/es/reference/live/httpclient/httpprovider/functions/hchttpcallresponsesetnetworkerrorcode.md)
- [XblHttpCallGetStatusCode](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetstatuscode.md)
- [HCHttpCallResponseGetPlatformNetworkErrorMessage](/es/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetplatformnetworkerrormessage.md)
