On my OS (Windows 10 21H1), I only get this event with Packaged apps, not Desktop apps (while other events work)
For example in UWP, in the MainPage class :
hcChangedRevoker = accSettings.HighContrastChanged(winrt::auto_revoke, [this](winrt::Windows::UI::ViewManagement::AccessibilitySettings const&, winrt::Windows::Foundation::IInspectable const&)
{
// code...
});
with
Windows::UI::ViewManagement::AccessibilitySettings accSettings;
Windows::UI::ViewManagement::AccessibilitySettings::HighContrastChanged_revoker hcChangedRevoker;