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

# XblSocialRelationshipResultGetTotalCount

> XblSocialRelationshipResultGetTotalCount

# XblSocialRelationshipResultGetTotalCount

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

## 構文

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

### パラメーター

*resultHandle*   \_In\_\
型: [XblSocialRelationshipResultHandle](/reference/live/xsapi-c/social_c/handles/xblsocialrelationshipresulthandle)

[XblSocialGetSocialRelationshipsResult](/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsresult) からの XblSocialRelationshipResultHandle。

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

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

### 戻り値

型: HRESULT

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

## 解説

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

## 要件

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

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

## 関連項目

[social\_c](/reference/live/xsapi-c/social_c/social_c_members)


## Related topics

- [XblSocialRelationshipResultGetRelationships](/ja-jp/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetrelationships.md)
- [XblSocialGetSocialRelationshipsResult](/ja-jp/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsresult.md)
- [XblSocialRelationshipResultGetNextResult](/ja-jp/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextresult.md)
- [XblSocialRelationshipResultGetNextAsync](/ja-jp/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextasync.md)
- [XblMultiplayerGetActivitiesForSocialGroupResultCount](/ja-jp/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayergetactivitiesforsocialgroupresultcount.md)
