From e37a90d8790292ce38041a52e3e1f3459f29e87c Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 28 Aug 2015 14:15:32 +0000 Subject: Toaster: fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@15058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Toaster/src/toast_notification.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Toaster/src/toast_notification.cpp') diff --git a/plugins/Toaster/src/toast_notification.cpp b/plugins/Toaster/src/toast_notification.cpp index 7d11f9318e..5c67f4dc0c 100644 --- a/plugins/Toaster/src/toast_notification.cpp +++ b/plugins/Toaster/src/toast_notification.cpp @@ -213,7 +213,8 @@ HRESULT ToastNotification::Show(_In_ ToastEventHandler* handler) Microsoft::WRL::ComPtr notificationManager; HRESULT hr = Windows::Foundation::GetActivationFactory(StringReferenceWrapper(RuntimeClass_Windows_UI_Notifications_ToastNotificationManager).Get(), ¬ificationManager); if (FAILED(hr)) - RaiseException(static_cast(STATUS_INVALID_PARAMETER), EXCEPTION_NONCONTINUABLE, 0, nullptr); + return hr; + //RaiseException(static_cast(STATUS_INVALID_PARAMETER), EXCEPTION_NONCONTINUABLE, 0, nullptr); hr = notificationManager->CreateToastNotifierWithId(StringReferenceWrapper(::AppUserModelID).Get(), ¬ifier); if (FAILED(hr)) -- cgit v1.2.3