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

# XblSocialRelationshipResultHasNext

> XblSocialRelationshipResultHasNext

# XblSocialRelationshipResultHasNext

检查是否还有更多的社交关系页可从服务中检索。

## 语法

```cpp theme={null}
HRESULT XblSocialRelationshipResultHasNext(  
         XblSocialRelationshipResultHandle resultHandle,  
         bool* hasNext  
)  
```

### 参数

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

来自 XblSocialGetSocialRelationshipsResult 的 XblSocialRelationshipResultHandle。

*hasNext*   \_Out\_\
类型：bool\*

如果还有更多结果需要检索，则回传 true，否则回传 false。

### 返回值

类型：HRESULT

此 API 操作的 HRESULT 返回代码。

## 备注

如果结果具有下一页，则调用 [XblSocialRelationshipResultGetNextAsync](/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextasync) 以检索下一页项。

## 要求

**头文件：** social\_c.h

**库：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另请参阅

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


## Related topics

- [XblSocialRelationshipResultGetNextAsync](/zh-CN/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextasync.md)
- [XblSocialRelationshipResultGetNextResult](/zh-CN/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextresult.md)
- [XblSocialGetSocialRelationshipsResult](/zh-CN/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsresult.md)
- [获取社交关系](/zh-CN/services/xbox-services/community/people-system/how-to/live-getting-a-social-relationship.md)
- [XblSocialRelationshipResultGetRelationships](/zh-CN/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetrelationships.md)
