XblPrivacyMuteListChangedHandler
A callback invoked when the user’s mute list changes.Syntax
Parameters
eventArgs   _In_Type: const XblPrivacyMuteListChangeEventArgs* The arguments associated with the mute list 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 XblPrivacyAddMuteListChangedHandler. The context parameter receives the handlerContext value that you passed when you registered the handler. Each call describes one change. ThechangeType member of eventArgs is XblPrivacyListChangeType::Added or XblPrivacyListChangeType::Removed, and the xuids array lists the XBOX user IDs (XUIDs) that were added to or removed from the mute list. The callback reports only what changed, not the full list. To get the full mute list, call XblPrivacyGetMuteListAsync.
The xuids array and the other fields of eventArgs are valid only until the callback returns. Copy any XUIDs that you need to keep before you return.
You can call XblPrivacyRemoveMuteListChangedHandler from inside the callback.
Argument of
XblPrivacyAddMuteListChangedHandlerRequirements
Header: privacy_c.h Library: Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.libSee also
privacy_cXblPrivacyMuteListChangeEventArgs
XblPrivacyListChangeType
XblPrivacyRemoveMuteListChangedHandler
