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

# HCHttpCallGetContext

> HCHttpCallGetContext

# HCHttpCallGetContext

この呼び出しオブジェクトにアタッチされたコンテキスト ポインターを取得します。

## 構文

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

### パラメーター

*call*   \_In\_\
型: HCCallHandle

HTTP 呼び出しのハンドル。

*context*   \_In\_\
型: void\*\*

この呼び出しオブジェクトにアタッチされたコンテキスト ポインター。

### 戻り値

型: HRESULT

この API 操作の結果コード。取り得る値は S\_OK、E\_INVALIDARG、または E\_FAIL です。

## 要件

**ヘッダー:** httpProvider.h

**ライブラリ:** libHttpClient.GDK.lib

## 関連項目

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


## Related topics

- [HCHttpCallSetContext](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallsetcontext.md)
- [HCGetHttpCallPerformFunction](/ja-jp/reference/live/httpclient/httpprovider/functions/hcgethttpcallperformfunction.md)
- [HCHttpCallResponseGetResponseBodyWriteFunction](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallresponsegetresponsebodywritefunction.md)
- [HCHttpCallRequestGetRequestBodyReadFunction](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetrequestbodyreadfunction.md)
- [HCHttpCallGetId](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallgetid.md)
