[DllImport("shell32.dll")] public static extern int SHQueryUserNotificationState( out QUERY_USER_NOTIFICATION_STATE pquns );
Microsoft documentation: Link
Last updated 1 year ago