Skip to content

Instantly share code, notes, and snippets.

View kirancheraku's full-sized avatar

Kiran Kumar Cheraku kirancheraku

View GitHub Profile
@kirancheraku
kirancheraku / DesktopToastsSample.cpp
Created December 2, 2015 13:17
Persistent toast notification in Win32 app with COM server
#include "stdafx.h"
#include "ToastActivator_h.h"
using namespace Microsoft::WRL;
using namespace ABI::Windows::UI::Notifications;
using namespace ABI::Windows::Data::Xml::Dom;
using namespace Windows::Foundation;
class DECLSPEC_UUID("BD8EC9B3-CAEB-465A-B5C0-2ABA5D5839D1") CToastActivator
WrlFinal : public Microsoft::WRL::RuntimeClass<Microsoft::WRL::RuntimeClassFlags<Microsoft::WRL::ClassicCom>, INotificationActivationCallback, FtmBase>