> ## 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](/zh-TW/reference/live/xsapi-c/social_c/handles/xblsocialrelationshipresulthandle)

來自 XblSocialGetSocialRelationshipsResult 的 XblSocialRelationshipResultHandle。

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

如果還有更多結果要擷取，則傳回 true，否則傳回 false。

### 傳回值

類型：HRESULT

此 API 作業的 HRESULT 傳回碼。

## 備註

如果結果有下一頁，請呼叫 [XblSocialRelationshipResultGetNextAsync](/zh-TW/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextasync) 以擷取下一頁的項目。

## 需求

**標頭：** social\_c.h

**程式庫：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另請參閱

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


## Related topics

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