WindowsUserNotification.SetNotificationMirroring
------------------------------------------------

Sets a value that specifies whether notification mirroring is allowed.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WindowsUserNotification](component_WindowsUserNotification.md) | [13.1](newinversion131.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "WindowsUserNotification.SetNotificationMirroring"; Notification; Value ) 

**MBS**( **"WindowsUserNotification.SetNotificationMirroring";** /\* Sets a value that specifies whether notification mirroring is allowed. \*/  
**$Notification**; /\* The reference number for the Windows User Notification. \*/   
**$Value**) /\* The new setting.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Notification | The reference number for the Windows User Notification. | $Notification |
| Value | The new setting. | 0 |

### Result

Returns OK or error.

### Description

Sets a value that specifies whether notification mirroring is allowed.  
Requires Windows 10 Anniversary Edition (introduced in 10.0.14393.0)  
  
Pass 0 to allow or 1 to disallow.  
Value is -1 to take Windows’ default setting.  
### Examples

Allow mirroring:

 Set Variable \[ $r ; Value: MBS ( "WindowsUserNotification.SetNotificationMirroring"; $Notification ; 0) \]  
### See also

- [WindowsUserNotification.GetNotificationMirroring](WindowsUserNotificationGetNotificationMirroring.md)
- [WindowsUserNotification.NewNotification](WindowsUserNotificationNewNotification.md)

### Release notes

- **Version 13.1**
    - Added [WindowsUserNotification.SetNotificationMirroring](https://www.mbsplugins.eu/WindowsUserNotificationSetNotificationMirroring.shtml) and [WindowsUserNotification.GetNotificationMirroring](https://www.mbsplugins.eu/WindowsUserNotificationGetNotificationMirroring.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 13.1](https://www.mbsplugins.de/archive/2023-03-15/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.1pr1](https://www.mbsplugins.de/archive/2023-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 21st January 2023 , last changed 20th May 2025

  
[WindowsUserNotification.SetImagePath](WindowsUserNotificationSetImagePath.md) - [WindowsUserNotification.SetPriority](WindowsUserNotificationSetPriority.md)

[HTML Version](WindowsUserNotificationSetNotificationMirroring.shtml)