XblSocialManagerUpdateSocialUserGroup
Updates specified social user group to new group of users.
Syntax
HRESULT XblSocialManagerUpdateSocialUserGroup(
XblSocialManagerUserGroupHandle group,
uint64_t* users,
size_t usersCount
)
Parameters
group _In_
Type: XblSocialManagerUserGroupHandle
The xbox social user group to update.
users _In_
Type: uint64_t*
New list of users to track. Note that this replaces the existing list of tracked users. The list cannot exceed XBL_SOCIAL_MANAGER_MAX_USERS_FROM_LIST.
usersCount _In_
Type: size_t
Number of items in the users array.
Return value
Type: HRESULT
HRESULT return code for this API operation.
Remarks
Does a diff to see which users have been added or removed. The result of a user group being updated will be triggered through the XblSocialManagerEventType::SocialUserGroupUpdated event in XblSocialManagerDoWork. Call this API after calling either XblSocialManagerCreateSocialUserGroupFromFilters or XblSocialManagerCreateSocialUserGroupFromList to create an XblSocialManagerUserGroup. Have the XblSocialManagerUserGroupHandle returned by the XblSocialManagerEventType::SocialUserGroupLoaded event in XblSocialManagerDoWork.
Requirements
Header: social_manager_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib