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

# HCGetHttpCallPerformFunction

> HCGetHttpCallPerformFunction

# HCGetHttpCallPerformFunction

現在のプラットフォームで HTTP 実行関数を実装する、現在の HCCallPerformFunction コールバックを返します。

## 構文

```cpp theme={null}
HRESULT HCGetHttpCallPerformFunction(  
         HCCallPerformFunction* performFunc,  
         void** performContext  
)  
```

### パラメーター

*performFunc*   \_Out\_\
型: HCCallPerformFunction\*

現在の HTTP 実行関数に設定されます。以前に設定されていない場合は既定のルーチンを返します。

*performContext*   \_Out\_\
型: void\*\*

コールバックのコンテキスト。

### 戻り値

型: HRESULT

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

## 解説

これは HCSetHttpCallPerformFunction() と組み合わせて使用でき、既定の HTTP 実装を使用しつつ、すべての HTTP 呼び出しを監視および変更するフィルターを構築できます。

## 要件

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

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

## 関連項目

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


## Related topics

- [HCSetHttpCallPerformFunction](/ja-jp/reference/live/httpclient/httpprovider/functions/hcsethttpcallperformfunction.md)
- [HCHttpCallPerformAsync](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallperformasync.md)
- [XblHttpCallPerformAsync](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync.md)
- [XblHttpCallGetResponseString](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsestring.md)
- [XblHttpCallGetResponseBodyBytes](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsebodybytes.md)
