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

Define o ponteiro de contexto anexado a este objeto de chamada.

## Sintaxe

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

### Parâmetros

*call*   \_In\_\
Tipo: HCCallHandle

O identificador da chamada HTTP.

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

o ponteiro de contexto anexado a este objeto de chamada.

### Valor retornado

Tipo: HRESULT

Código de resultado desta operação de API. Os valores possíveis são S\_OK, E\_INVALIDARG ou E\_FAIL.

## Requisitos

**Cabeçalho:** httpProvider.h

**Biblioteca:** libHttpClient.GDK.lib

## Confira também

[httpProvider](/pt-BR/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

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