diff win/wintoast.cpp @ 2098:665d87a50eac

Win: Test that the OS is compatible for WinToast before returning supported.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 11 Jun 2020 22:21:53 +0000
parents bcc7877dcdac
children 6e55c6f8d816
line wrap: on
line diff
--- a/win/wintoast.cpp	Thu Jun 11 18:02:29 2020 +0000
+++ b/win/wintoast.cpp	Thu Jun 11 22:21:53 2020 +0000
@@ -88,4 +88,9 @@
       }
       return -1; // DW_ERROR_UNKNOWN
    }
+   
+   BOOL _dw_toast_is_compatible(void)
+   {
+       return WinToast::isCompatible();
+   }
 }