> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HCHttpCallGetContext

> HCHttpCallGetContext

Gets the context pointer attached to this call object.

## Syntax

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

### Parameters

*call*   \_In\_\
Type: HCCallHandle

The handle of the HTTP call.

*context*   \_In\_\
Type: void\*\*

the context pointer attached to this call object.

### Return value

Type: HRESULT

Result code for this API operation. Possible values are S\_OK, E\_INVALIDARG, or E\_FAIL.

## Requirements

**Header:** httpProvider.h

**Library:** libHttpClient.lib

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[httpProvider](https://docs.xbox.com/reference/live/httpclient/httpprovider/httpprovider_members.md)


## Related topics

- [httpProvider (contents)](https://docs.xbox.com/reference/live/httpclient/httpprovider/httpprovider_members.md)
- [HCGetHttpCallPerformFunction](https://docs.xbox.com/reference/live/httpclient/httpprovider/functions/hcgethttpcallperformfunction.md)
- [HCHttpCallSetContext](https://docs.xbox.com/reference/live/httpclient/httpprovider/functions/hchttpcallsetcontext.md)
- [HCHttpCallResponseGetResponseBodyWriteFunction](https://docs.xbox.com/reference/live/httpclient/httpprovider/functions/hchttpcallresponsegetresponsebodywritefunction.md)
- [HCHttpCallRequestGetRequestBodyReadFunction](https://docs.xbox.com/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetrequestbodyreadfunction.md)
