> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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](https://docs.xbox.com/reference/live/xsapi-c/social_c/handles/xblsocialrelationshipresulthandle.md)

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](https://docs.xbox.com/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextasync.md) to retrieve the next page of items.

## Requirements

**Header:** social\_c.h

**Library:** Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## See also

[social\_c](https://docs.xbox.com/reference/live/xsapi-c/social_c/social_c_members.md)


## Related topics

- [Getting a social relationship](https://docs.xbox.com/services/xbox-services/community/people-system/how-to/live-getting-a-social-relationship.md)
- [XblSocialRelationshipResultGetNextAsync](https://docs.xbox.com/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextasync.md)
- [XblSocialRelationshipResultGetNextResult](https://docs.xbox.com/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextresult.md)
- [XblSocialGetSocialRelationshipsResult](https://docs.xbox.com/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsresult.md)
- [social_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/social_c/social_c_members.md)
