From Microsoft official

Docs.microsoft.com/zh-cn/windo…

Docs.microsoft.com/zh-cn/windo…

 

There are four main platforms for building desktop applications for Windows computers. Each platform provides an application model for defining the application lifecycle, a complete UI framework and set of UI controls for creating desktop applications such as Word, Excel, and Photoshop, and a comprehensive set of hosted or native apis for using Windows functionality. For an in-depth comparison of these platforms and for additional resources suitable for each, see Selecting an Application Platform.

 

platform instructions Documents and Resources
Universal Windows Platform (UWP) The leading platform for Windows 10 apps and games. You can build UWP applications that use only UWP controls and apis, or you can use UWP controls and apis in desktop applications that use one of the other platforms by design. An introduction to API reference The sample
C++/Win32 The preferred platform for native Windows applications that require direct access to Windows and hardware. An introduction to API reference The sample
WPF Established.NET based platform suitable for graphically rich hosted Windows applications with XAML UI model. These applications can be oriented.NET Core 3Or the full.NET Framework. An introduction to API reference (.net) The sample
Windows forms A.NET based platform for managed line of business applications with a lightweight UI model. These applications can be oriented.NET Core 3Or the full.NET Framework. An introduction to API reference (.net)