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

# HCHttpCallSetContext

> HCHttpCallSetContext

# HCHttpCallSetContext

Establece el puntero de contexto asociado a este objeto de llamada.

## Sintaxis

```cpp theme={null}
HRESULT HCHttpCallSetContext(  
         HCCallHandle call,  
         void* context  
)  
```

### Parámetros

*call*   \_In\_\
Tipo: HCCallHandle

El identificador de la llamada HTTP.

*context*   \_In\_opt\_\
Tipo: void\*

El puntero de contexto asociado a este objeto de llamada.

### Valor devuelto

Tipo: HRESULT

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

## Requisitos

**Encabezado:** httpProvider.h

**Biblioteca:** libHttpClient.GDK.lib

## Consulte también

[httpProvider](/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

- [HCSetHttpCallPerformFunction](/es/reference/live/httpclient/httpprovider/functions/hcsethttpcallperformfunction.md)
- [HCHttpCallResponseSetResponseBodyWriteFunction](/es/reference/live/httpclient/httpclient/functions/hchttpcallresponsesetresponsebodywritefunction.md)
- [HCHttpCallRequestSetRequestBodyReadFunction](/es/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodyreadfunction.md)
- [HCHttpCallGetContext](/es/reference/live/httpclient/httpprovider/functions/hchttpcallgetcontext.md)
- [XblHttpCallRequestSetLongHttpCall](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetlonghttpcall.md)
