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

# XblSocialRelationshipResultGetNextAsync

> XblSocialRelationshipResultGetNextAsync

# XblSocialRelationshipResultGetNextAsync

取得與呼叫者有社交關聯的人員清單的下一頁。

## 語法

```cpp theme={null}
HRESULT XblSocialRelationshipResultGetNextAsync(  
         XblContextHandle xboxLiveContext,  
         XblSocialRelationshipResultHandle resultHandle,  
         size_t maxItems,  
         XAsyncBlock* async  
)  
```

### 參數

*xboxLiveContext*   \_In\_\
類型：[XblContextHandle](/zh-TW/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

使用 XblContextCreateHandle 建立的 Xbox Live 內容控制代碼。

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

先前呼叫 XblSocialGetSocialRelationshipsAsync 所得到的社交關係結果控制代碼。

*maxItems*   \_In\_\
類型：size\_t

控制要取得的 XblSocialRelationship 物件數目。0 會盡可能傳回最多的物件。

*async*   \_In\_\
類型：XAsyncBlock\*

呼叫者配置的 AsyncBlock。

### 傳回值

類型：HRESULT

此 API 作業的 HRESULT 傳回碼。

## 備註

透過 [XblSocialRelationshipResultHasNext](/zh-TW/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresulthasnext) 發現有更多結果之後，請呼叫此 API。呼叫此 API 之後，請務必呼叫 [XblSocialRelationshipResultGetNextResult](/zh-TW/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextresult) 以取得結果。

## 需求

**標頭：** 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

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