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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for