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

# XblSocialFriendRequestCountChangedEventArgs

> Event arguments for a change in the number of pending incoming friend requests.

# XblSocialFriendRequestCountChangedEventArgs

Event arguments for a change in the number of pending incoming friend requests.

## Syntax

```cpp theme={null}
typedef struct XblSocialFriendRequestCountChangedEventArgs {  
    uint64_t callerXboxUserId;  
    size_t incomingFriendRequestCount;  
} XblSocialFriendRequestCountChangedEventArgs;  
```

### Members

*callerXboxUserId*\
Type: uint64\_t

The XBOX user ID of the user whose incoming friend request count changed. This is the user associated with the XBOX services context that registered the handler.

*incomingFriendRequestCount*\
Type: size\_t

The current number of pending incoming friend requests.

## Remarks

The structure is valid only during the callback. Copy any values that you need later.

## Argument of

[XblSocialIncomingFriendRequestCountChangedHandler](https://docs.xbox.com/reference/live/xsapi-c/social_c/functions/xblsocialincomingfriendrequestcountchangedhandler.md)

## Requirements

**Header:** social\_c.h

## See also

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


## Related topics

- [XblSocialIncomingFriendRequestCountChangedHandler](https://docs.xbox.com/reference/live/xsapi-c/social_c/functions/xblsocialincomingfriendrequestcountchangedhandler.md)
- [XblSocialAddFriendRequestCountChangedHandler](https://docs.xbox.com/reference/live/xsapi-c/social_c/functions/xblsocialaddfriendrequestcountchangedhandler.md)
- [social_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/social_c/social_c_members.md)
- [XblSocialRemoveFriendRequestCountChangedHandler](https://docs.xbox.com/reference/live/xsapi-c/social_c/functions/xblsocialremovefriendrequestcountchangedhandler.md)
- [XblSocialNotificationType](https://docs.xbox.com/reference/live/xsapi-c/social_c/enums/xblsocialnotificationtype.md)
