Freigeben über


XblSocialManagerDestroySocialUserGroup

Destroys a created Social User Group.

Syntax

HRESULT XblSocialManagerDestroySocialUserGroup(  
         XblSocialManagerUserGroupHandle group  
)  

Parameters

group   _In_
Type: XblSocialManagerUserGroupHandle

The Social User Group to destroy and stop tracking.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

This will stop updaing the Xbox Social User Group and remove tracking for any users the XblSocialManagerUserGroup holds. 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

See also

social_manager_c