Win32 and COM APIs for UWP apps
A Universal Windows Platform (UWP) app (or a Windows Runtime component) written in C++/CX has access to the Win32 and COM APIs that are part of the Universal Windows Platform (UWP).
Most of these APIs are implemented by all Windows 10 devices, and that set is listed first (in two forms: grouped by module, and listed in alphabetical order of name). Then, additional APIs that are part of the UWP but that are not present on all Windows 10 devices, are listed.
In this section
Topic | Description |
---|---|
This topic lists the Win32 APIs that are part of the UWP and that are implemented by all Windows 10 devices. For convenience, an umbrella library named WindowsApp.lib is provided in the Microsoft Windows Software Development Kit (SDK), which provides the exports for this set of Win32 APIs. Link your app with WindowsApp.lib (and no other libraries) to access these APIs. |
|
This topic lists the Win32 and COM APIs that are part of the UWP and that are implemented by some Windows 10 devices, so your calls to these APIs must be guarded with conditions that first confirm the presence of the API on the device your app is running on. The union of APIs present on all Windows 10 devices and the APIs listed in this topic make up the entire Win32 and COM surface area of UWP. |
|
Learn which features of the Windows API can be used in a UWP app and which APIs to use as alternatives for those that cannot. |
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