Hello, Welcome to Micorosoft Q&A,
windows.ui.notifications.h vs winrt/windows.ui.notifications.h | What should i use?
It is based on which namespace is selected for your uwp language. If you was using C++CX, please include windows.ui.notifications.h
, And if you are using C++WinRT, please include winrt/windows.ui.notifications.h
. Or it will throw head file not found exception.
And windows.ui.notifications.h contains also namespaces like ABI::Windows::Data::Xml::Dom;
A Windows Runtime class (runtime class) is really an abstraction. This abstraction defines a binary interface (the Application Binary Interface, or ABI) that allows various programming languages to interact with an object. Regardless of programming language, client code interaction with a Windows Runtime object happens at the lowest level, with client language constructs translated into calls into the object's ABI.
For more please refer this document.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.