> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblPrivacyAddMuteListChangedHandler

> XblPrivacyAddMuteListChangedHandler

# XblPrivacyAddMuteListChangedHandler

Inscrit un gestionnaire d'événements pour recevoir des notifications lorsque la liste de sourdine de l'utilisateur change.

## Syntaxe

```cpp theme={null}
XblFunctionContext XblPrivacyAddMuteListChangedHandler(  
         XblContextHandle xboxLiveContext,  
         XblPrivacyMuteListChangedHandler handler,  
         void* handlerContext  
)  
```

### Paramètres

*xboxLiveContext*   \_In\_\
Type : [XblContextHandle](/fr-CA/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

Handle de contexte XBOX services créé avec XblContextCreateHandle.

*handler*   \_In\_\
Type : XblPrivacyMuteListChangedHandler

Fonction de rappel qui reçoit les notifications.

*handlerContext*   \_In\_opt\_\
Type : void\*

Pointeur de contexte client à repasser au gestionnaire.

### Valeur de retour

Type : XblFunctionContext

Un XblFunctionContext utilisé pour supprimer le gestionnaire.

## Remarques

Appelez [XblPrivacyRemoveMuteListChangedHandler](/fr-CA/reference/live/xsapi-c/privacy_c/functions/xblprivacyremovemutelistchangedhandler) pour désinscrire le gestionnaire d'événements.

## Configuration requise

**En-tête :** privacy\_c.h

**Bibliothèque :** Microsoft.Xbox.Services.14x.GDK.C.lib

## Voir aussi

[privacy\_c](/fr-CA/reference/live/xsapi-c/privacy_c/privacy_c_members)


## Related topics

- [XblPrivacyAddMuteListChangedHandler](/reference/live/xsapi-c/privacy_c/functions/xblprivacyaddmutelistchangedhandler.md)
- [XblPrivacyRemoveMuteListChangedHandler](/reference/live/xsapi-c/privacy_c/functions/xblprivacyremovemutelistchangedhandler.md)
