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

Checks if there are more pages of social relationships to retrieve from the service.

## Syntax

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

### Parameters

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

The XblSocialRelationshipResultHandle from XblSocialGetSocialRelationshipsResult.

*hasNext*   \_Out\_\
Type: bool\*

Passes back true if there are more results to retrieve, false otherwise.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Remarks

If the result has a next page, then call [XblSocialRelationshipResultGetNextAsync](/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextasync) to retrieve the next page of items.

## 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)
- [XblSocialRelationshipResultGetNextAsync](/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextasync.md)
- [XblSocialRelationshipResultGetNextResult](/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextresult.md)
- [XblSocialGetSocialRelationshipsResult](/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsresult.md)
- [XblSocialRelationshipResultGetRelationships](/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetrelationships.md)
