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

# XblSocialRelationshipResultGetTotalCount

> XblSocialRelationshipResultGetTotalCount

# XblSocialRelationshipResultGetTotalCount

XblSocialRelationshipResultHandle の結果の合計数を取得します。

## 構文

```cpp theme={null}
HRESULT XblSocialRelationshipResultGetTotalCount(  
         XblSocialRelationshipResultHandle resultHandle,  
         size_t* totalCount  
)  
```

### パラメーター

*resultHandle*   \_In\_\
型: [XblSocialRelationshipResultHandle](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_c/handles/xblsocialrelationshipresulthandle.md)

[XblSocialGetSocialRelationshipsResult](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsresult.md) からの XblSocialRelationshipResultHandle。

*totalCount*   \_Out\_\
型: size\_t\*

クエリの結果の合計数を返します。

### 戻り値

型: HRESULT

この API 操作の HRESULT 戻り値コード。

## 解説

これは [XblSocialGetSocialRelationshipsAsync](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsasync.md) によって要求された結果の合計数のみであり、結果項目の最大数とは異なる場合があることに注意してください。

## 要件

**ヘッダー:** social\_c.h

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

## 関連項目

[social\_c](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_c/social_c_members.md)


## Related topics

- [social_c](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_c/social_c_members.md)
- [XblSocialRelationshipResultGetRelationships](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetrelationships.md)
- [XblSocialGetSocialRelationshipsResult](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsresult.md)
- [XblSocialRelationshipResultGetNextResult](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextresult.md)
- [XblSocialRelationshipResultGetNextAsync](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextasync.md)
