WinRT APIs callable from a desktop app
Most Windows Runtime (WinRT) APIs can be used by desktop (.NET and native C++) apps. However, some WinRT classes are designed for and are only supported for use in UWP apps. This includes CoreDispatcher, CoreWindow, ApplicationView, and some related classes. Other WinRT classes work in desktop apps except for specific members.
For more information, see Windows Runtime APIs not supported in desktop apps. Where available, this article suggests alternative APIs to achieve the same functionality as the unsupported APIs.