XblSocialIncomingFriendRequestCountChangedHandler
A callback invoked when the number of incoming friend requests for a user changes.Syntax
Parameters
eventArgs   _In_Type: const XblSocialFriendRequestCountChangedEventArgs* The arguments associated with the change. The fields of the structure are valid only during the callback. context   _In_opt_
Type: void* The context that was provided when the handler was added.
Return value
Type: voidRemarks
Register this callback by calling XblSocialAddFriendRequestCountChangedHandler. The context parameter receives the handlerContext value that you passed when you registered the handler. TheincomingFriendRequestCount member of eventArgs contains the current number of pending incoming friend requests. Copy any values that you need after the callback returns.
The XBOX Services API (XSAPI) ignores a friend request count notification that doesn’t include a count, so the callback isn’t invoked for it.
Argument of
XblSocialAddFriendRequestCountChangedHandlerRequirements
Header: social_c.h Library: Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.libSee also
social_cXblSocialFriendRequestCountChangedEventArgs
XblSocialRemoveFriendRequestCountChangedHandler
