summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/toast_notification.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src/toast_notification.cpp')
-rw-r--r--plugins/Toaster/src/toast_notification.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Toaster/src/toast_notification.cpp b/plugins/Toaster/src/toast_notification.cpp
index acbb5d627c..0275920c64 100644
--- a/plugins/Toaster/src/toast_notification.cpp
+++ b/plugins/Toaster/src/toast_notification.cpp
@@ -77,9 +77,9 @@ HRESULT ToastNotification::Show(_In_ ToastEventHandler* handler)
{
ComPtr<ToastEventHandler> eventHandler(handler);
- notification->add_Activated(eventHandler.Get(), &_ertActivated);
- notification->add_Dismissed(eventHandler.Get(), &_ertDismissed);
- notification->add_Failed(eventHandler.Get(), &_ertFailed);
+ CHECKHR(notification->add_Activated(eventHandler.Get(), &_ertActivated));
+ CHECKHR(notification->add_Dismissed(eventHandler.Get(), &_ertDismissed));
+ CHECKHR(notification->add_Failed(eventHandler.Get(), &_ertFailed));
return notifier->Show(notification.Get());
}