> ## 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.

# XblPrivacyAddBlockListChangedHandler

> XblPrivacyAddBlockListChangedHandler

# XblPrivacyAddBlockListChangedHandler

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

## Syntaxe

```cpp theme={null}
XblFunctionContext XblPrivacyAddBlockListChangedHandler(  
         XblContextHandle xboxLiveContext,  
         XblPrivacyBlockListChangedHandler 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 : XblPrivacyBlockListChangedHandler

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 [XblPrivacyRemoveBlockListChangedHandler](/fr-CA/reference/live/xsapi-c/privacy_c/functions/xblprivacyremoveblocklistchangedhandler) 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

- [XblPrivacyAddBlockListChangedHandler](/reference/live/xsapi-c/privacy_c/functions/xblprivacyaddblocklistchangedhandler.md)
- [XblPrivacyRemoveBlockListChangedHandler](/reference/live/xsapi-c/privacy_c/functions/xblprivacyremoveblocklistchangedhandler.md)
