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

# XblHttpCallGetNumHeaders

> XblHttpCallGetNumHeaders

# XblHttpCallGetNumHeaders

HTTP 呼び出しの応答ヘッダーの数を取得します。

## 構文

```cpp theme={null}
HRESULT XblHttpCallGetNumHeaders(  
         XblHttpCallHandle call,  
         uint32_t* numHeaders  
)  
```

### パラメーター

*call*   \_In\_\
型: [XblHttpCallHandle](/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle)

HTTP 呼び出しのハンドル。

*numHeaders*   \_Out\_\
型: uint32\_t\*

HTTP 呼び出しの応答ヘッダーの数。

### 戻り値

型: HRESULT

この API 操作の結果コード。有効な値は S\_OK、E\_INVALIDARG、または E\_FAIL です。

## 解説

これは、HTTP タスクの完了後に [XblHttpCallPerformAsync](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync) を呼び出した後にのみ呼び出すことができます。

## 要件

**ヘッダー:** http\_call\_c.h

**ライブラリ:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 関連項目

[http\_call\_c](/reference/live/xsapi-c/http_call_c/http_call_c_members)


## Related topics

- [XblHttpCallGetHeaderAtIndex](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheaderatindex.md)
- [HCHttpCallResponseGetNumHeaders](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetnumheaders.md)
- [HCHttpCallRequestGetNumHeaders](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetnumheaders.md)
- [HCHttpCallRequestGetHeaderAtIndex](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetheaderatindex.md)
- [XblHttpCallGetHeader](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheader.md)
