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

Gets the next page of a list of people that the caller is socially connected to.

## Syntax

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

### Parameters

*xboxLiveContext*   \_In\_\
Type: [XblContextHandle](/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

An xbox live context handle created with XblContextCreateHandle.

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

Social relationship result handle from a previous call to XblSocialGetSocialRelationshipsAsync.

*maxItems*   \_In\_\
Type: size\_t

Controls the number of XblSocialRelationship objects to get. 0 will return as many as possible.

*async*   \_In\_\
Type: XAsyncBlock\*

Caller allocated AsyncBlock.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Remarks

Call this API after finding more results from [XblSocialRelationshipResultHasNext](/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresulthasnext). After calling this API, make sure to call [XblSocialRelationshipResultGetNextResult](/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextresult) to get the result.

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

- [Getting a social relationship](/services/xbox-services/community/people-system/how-to/live-getting-a-social-relationship.md)
- [XblSocialRelationshipResultGetNextResult](/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextresult.md)
- [XblSocialRelationshipResultHasNext](/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresulthasnext.md)
- [XblSocialGetSocialRelationshipsResult](/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsresult.md)
- [XblSocialGetSocialRelationshipsAsync](/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsasync.md)
