> ## 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에 대한 총 결과 수를 가져옵니다.

## Syntax

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

### Parameters

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

[XblSocialGetSocialRelationshipsResult](/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsresult)에서 반환된 XblSocialRelationshipResultHandle입니다.

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

쿼리의 총 결과 수를 반환합니다.

### Return value

Type: HRESULT

이 API 작업에 대한 HRESULT 반환 코드입니다.

## Remarks

이 값은 [XblSocialGetSocialRelationshipsAsync](/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsasync)에서 요청된 총 결과 수일 뿐이며 결과 항목의 최대 수와는 다를 수 있습니다.

## Requirements

**Header:** social\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

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


## Related topics

- [XblSocialRelationshipResultGetRelationships](/ko/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetrelationships.md)
- [XblSocialGetSocialRelationshipsResult](/ko/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsresult.md)
- [XblSocialRelationshipResultGetNextResult](/ko/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextresult.md)
- [XblSocialRelationshipResultGetNextAsync](/ko/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextasync.md)
- [XblPresenceGetPresenceForSocialGroupResultCount](/ko/reference/live/xsapi-c/presence_c/functions/xblpresencegetpresenceforsocialgroupresultcount.md)
