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

Registers an event handler for notifications when the user's mute list changes.

## Syntax

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

### Parameters

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

An xbox services context handle created with XblContextCreateHandle.

*handler*   \_In\_\
Type: XblPrivacyMuteListChangedHandler

The callback function that receives notifications.

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

Client context pointer to be passed back to the handler.

### Return value

Type: XblFunctionContext

A XblFunctionContext used to remove the handler.

## Remarks

Call [XblPrivacyRemoveMuteListChangedHandler](/reference/live/xsapi-c/privacy_c/functions/xblprivacyremovemutelistchangedhandler) to un-register the event handler.

## Requirements

**Header:** privacy\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

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


## Related topics

- [XblPrivacyRemoveMuteListChangedHandler](/reference/live/xsapi-c/privacy_c/functions/xblprivacyremovemutelistchangedhandler.md)
- [XblPrivacyAddBlockListChangedHandler](/reference/live/xsapi-c/privacy_c/functions/xblprivacyaddblocklistchangedhandler.md)
- [XblPrivacyRemoveBlockListChangedHandler](/reference/live/xsapi-c/privacy_c/functions/xblprivacyremoveblocklistchangedhandler.md)
- [Privacy](/services/xbox-services/fundamentals/identity/privacy/index.md)
- [Privacy and permissions overview](/services/xbox-services/fundamentals/identity/privacy/live-privacy-overview.md)
