Is there a way to detect changes in Focus Assist (formerly Quiet Hours) in Windows 10 from a Win32 App
I'd like to change the presence state in an App automatically to DND when Focus Assist is turned on. So two questions basically: Is it possible to check Focus Assist state through e.g. Windows 10 SDK? There is a similar question for Quiet Hours in Windows 8 here: Get windows Quiet hours from Win32 or C# API , though it's not clear whether it also still applies to "Focus Assist" since this is no longer a true or false value. Quiet hours had only ON/OFF state while Focus Assist can be OFF/PRIORITY/ALARMS. The more interesting question though, which is not answered in the post mentioned above: is