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

APIs present on all Windows 10 devices

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.

Extension APIs for Windows 10 devices

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.

Alternatives to Windows APIs in Windows 10 UWP apps

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.